Example #1
0
        //Gets Single Row From Joined Tables for OrderId
        public async Task <OrderForForwarderDto> GetOrderForwarderAsync(Guid id)
        {
            var order = await _orderRepo.GetOrderAsync(id);

            return(MyMapper.GetOrderForwarder(order));
        }
Example #2
0
        public async Task <IEnumerable <OrderForForwarderDto> > GetAllOrderTransport(Guid id)
        {
            var orders = await _orderRepo.GetAllTransportOrders(id);

            return(MyMapper.GetOrderForwarder(orders));
        }