Exemplo n.º 1
0
 public List <AircraftViewModel> Get()
 {
     try
     {
         var _aircraft = _repository.Query(wh => !wh.IsDeleted).ToList();
         return(_mapper.Map <List <AircraftViewModel> >(_aircraft).ToList());
     }
     catch (Exception)
     {
         throw;
     }
 }