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

            return(result);
        }