public async Task <List <ShipperVm> > Handle(GetAllShippersQuery request, CancellationToken cancellationToken) { return(await _shipperRepository.GetAllAsync()); }
public async Task <List <Shipper> > GetAllAsync() { var result = await _shipperRepository.GetAllAsync(); return(result); }