public IActionResult GetAll()
        {
            var offices = _officesService.GetAll();

            var response = _mapper.Map <List <GetOfficesResponse> >(offices);

            return(Ok(response));
        }
Beispiel #2
0
 public IActionResult Offices()
 {
     return(View(_officesService.GetAll()));
 }