public async Task <List <PoliceResource> > GetAll() { var policeList = await _policeService.GetAll(); var policeListReturn = AutoMapper.Mapper.Map <List <PoliceResource> >(policeList); return(policeListReturn); }
public IActionResult UsersList() { List <Citizen> users = _policeService.GetAll(); return(View(users)); }