public async Task <IEnumerable <DeliveryRequestModel> > GetAllAsync() { var items = await ReadRepository.GetAllQueryableAsync <DeliveryRequest>(_relationsProvider.JoinDeliveryRequestInfo); return(Mapper.Map <IEnumerable <DeliveryRequestModel> >(items)); }
public async Task <IEnumerable <WorkOrderModel> > GetAllAsync() { var items = await ReadRepository.GetAllQueryableAsync <Data.Models.WorkOrder.WorkOrder>(_relationProvider.JoinAll); return(Mapper.Map <IEnumerable <WorkOrderModel> >(items)); }