public async Task <ActionResult <OrderResponseModel[]> > GetShipperOrders(int shipperId) { await DoesShipperExist(shipperId); var orders = await _shipperService.GetAllEntities(shipperId); return(_mapper.Map <OrderResponseModel[]>(orders)); }
public async Task <ActionResult <OrderResponseModel[]> > GetShipperOrders(int shipperId) { await DoesShipperExist(shipperId); var orders = await _shipperService.GetAllEntities(shipperId); return(_mapper.Map <OrderResponseModel[]>(orders)); }