Пример #1
0
 public async Task <ActionResult <string> > GetUsers([FromQuery(Name = "managerId")] int managerId)
 {
     Console.WriteLine("GetUsers");
     return(userModel.GetUsersByManager(managerId));
 }
Пример #2
0
 public async Task <ActionResult <string> > GetUsers([FromQuery(Name = "managerId")] int managerId)
 {
     return(_context.GetUsersByManager(managerId));
 }