public List <Manager> ViewManagers()
 {
     return(managerRepository.GetAllManagers());
 }
示例#2
0
        public IActionResult Get()
        {
            var getAllManagers = _repo.GetAllManagers();

            return(StatusCode((int)HttpStatusCode.OK, getAllManagers));
        }