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