Пример #1
0
 public IEnumerable <ShipmentDTO> ReadMany(ShipmentFilterParams filterParams)
 {
     return(_mapper.Map <IEnumerable <ShipmentDTO> >(_repo.ReadMany(filterParams.GetFuncPredicate())));
 }
Пример #2
0
 public async Task <ShipmentDTO> ReadAsync(ShipmentFilterParams filterParams)
 {
     return(_mapper.Map <ShipmentDTO>(await _repo.ReadAsync(filterParams.GetLinqExpression())));
 }