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