public TransporterDetail(ITransporterDataService transporterDataService, IMapper mapper, ISupplierDataService supplierDataService, ILogger <TransporterDetail> logger) { _transporterDataService = transporterDataService; _mapper = mapper; _supplierDataService = supplierDataService; _logger = logger; }
public ReservedBookingsIndexModel(IBookingDataService _bookingDataService, ITransporterDataService _transporterDataService, IIntervalDataService intervalDataService, IUserUtility userUtility) { _intervalDataService = intervalDataService; _userUtility = userUtility; BookingDataService = _bookingDataService; TransporterDataService = _transporterDataService; }
public CreateBookingAdminModel(IBookingDataService _bookingDataService, IInactiveBookingDataService _inactiveBookingDataService, ITransporterDataService _transporterDataService, IUtilBookingDataService _utilBookingDataService) { bookingDataService = _bookingDataService; inactiveBookingDataService = _inactiveBookingDataService; transporterDataService = _transporterDataService; utilBookingDataService = _utilBookingDataService; Booking = new BookingViewModel(); Booking.OrdersListViewModel = new List <OrderViewModel>(); Booking.OrdersListViewModel.Add(new OrderViewModel()); Booking.OrdersListViewModel.Add(new OrderViewModel()); foreach (var order in Booking.OrdersListViewModel) { order.SupplierViewModel = new SupplierViewModel(); } Orders = new List <OrderViewModel>(); for (int i = 0; i < 2; i++) { Orders.Add(new OrderViewModel()); } }
public Transporter_CreateModel(ITransporterDataService transporterDataService, IMapper mapper, IApplicationUserDataService applicationUserDataService) { _transporterDataService = transporterDataService; _mapper = mapper; _applicationUserDataService = applicationUserDataService; }
private async Task <List <TransporterViewModel> > PopulateList(ITransporterDataService transporterDataService, List <TransporterViewModel> Transporters) { var TransportersEnumerable = await transporterDataService.ListTransporters(0, 0); return(TransportersEnumerable.Transporters); }
public TransportersModel(ITransporterDataService _transporterDataService) { transporterDataService = _transporterDataService; }
public AllSchedules(IMasterScheduleDataService masterScheduleDataService, ITransporterDataService transporterDataService) { _masterScheduleDataService = masterScheduleDataService; _transporterDataService = transporterDataService; }
public IndexModel(ITransporterDataService _transporterDataService) { transporterDataService = _transporterDataService; }
public UserViewComponent(ITransporterDataService transporterDataService, IApplicationUserDataService applicationUserDataService, ILogger <UserViewComponent> logger) { _transporterDataService = transporterDataService; _applicationUserDataService = applicationUserDataService; _logger = logger; }