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