public List <StatusDTO> GetAll() { return(StatusRepo.GetAll().Select(a => mapper.Map <StatusDTO>(a)).ToList()); }
public IHttpActionResult Get() { return(Ok(_statusRepo.GetAll())); }