Пример #1
0
 /// <summary>
 /// Get NRT Queue Base Data
 /// </summary>
 /// <returns></returns>
 public NrtQueueBaseResponse GetBaseData()
 {
     return(new NrtQueueBaseResponse
     {
         NrtTypes = nrtTypeRepository.GetAll(),
         OperationWorkPlaces = operationsWorkPlaceRepository.GetSalesOperationsWorkPlace(),
         RaStatuses = raStatusRepository.GetAll(),
     });
 }
Пример #2
0
 /// <summary>
 /// Get RA Queue Base Data
 /// </summary>
 /// <returns></returns>
 public RaQueueBaseResponse GetBaseData()
 {
     return(new RaQueueBaseResponse
     {
         Operations = operationRepository.GetSalesOperation(),
         OperationWorkPlaces = operationsWorkPlaceRepository.GetSalesOperationsWorkPlace(),
         PaymentTerms = paymentTermRepository.GetAll(),
         RaStatuses = raStatusRepository.GetAll(),
     });
 }
Пример #3
0
 /// <summary>
 /// Get Base Data
 /// </summary>
 /// <returns></returns>
 public VehicleBaseDataResponse GetBaseData()
 {
     return(new VehicleBaseDataResponse
     {
         Operations = operationRepository.GetAll(),
         FleetPools = fleetPoolRepository.GetAll(),
         Companies = companyRepository.GetAll(),
         Regions = regionRepository.GetAll(),
         FuelTypes = fuelTypeRepository.GetAll(),
         VehicleModels = vehicleModelRepository.GetAll(),
         VehicleStatuses = vehicleStatusRepository.GetAll(),
         Departments = departmentRepository.GetAll(),
         VehicleCategories = vehicleCategoryRepository.GetAll(),
         TransmissionTypes = transmissionTypeResposirory.GetAll(),
         VehicleMakes = vehicleMakeRepository.GetAll(),
         BusinessPartners = businessPartnerRepository.GetAll(),
         InsuranceType = insuranceTypeRepository.GetAll(),
         MaintenanceTypes = maintenanceTypeRepository.GetAll(),
         VehicleCheckList = vehicleCheckListRepository.GetAll(),
         Locations = operationsWorkPlaceRepository.GetSalesOperationsWorkPlace()
     });
 }