//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)); }
public async Task <IEnumerable <OrderForForwarderDto> > GetAllOrderTransport(Guid id) { var orders = await _orderRepo.GetAllTransportOrders(id); return(MyMapper.GetOrderForwarder(orders)); }