public async Task <ActionResult <string> > GetUsers([FromQuery(Name = "managerId")] int managerId) { Console.WriteLine("GetUsers"); return(userModel.GetUsersByManager(managerId)); }
public async Task <ActionResult <string> > GetUsers([FromQuery(Name = "managerId")] int managerId) { return(_context.GetUsersByManager(managerId)); }