public IEnumerable <ShipmentDTO> ReadMany(ShipmentFilterParams filterParams) { return(_mapper.Map <IEnumerable <ShipmentDTO> >(_repo.ReadMany(filterParams.GetFuncPredicate()))); }
public async Task <ShipmentDTO> ReadAsync(ShipmentFilterParams filterParams) { return(_mapper.Map <ShipmentDTO>(await _repo.ReadAsync(filterParams.GetLinqExpression()))); }