The following code
var merchant = await _dbContext.Merchants .Include(m => m.Users) .SingleAsync(m => m.MerchantId == id); var userTasks = merch