public List <Manager> ViewManagers() { return(managerRepository.GetAllManagers()); }
public IActionResult Get() { var getAllManagers = _repo.GetAllManagers(); return(StatusCode((int)HttpStatusCode.OK, getAllManagers)); }