public IActionResult GetAll() { var offices = _officesService.GetAll(); var response = _mapper.Map <List <GetOfficesResponse> >(offices); return(Ok(response)); }
public IActionResult Offices() { return(View(_officesService.GetAll())); }