Exemple #1
0
 /// <summary>
 /// Get Tariff Rate Base Data
 /// </summary>
 /// <returns></returns>
 public TariffRateBaseResponse GetBaseData()
 {
     return(new TariffRateBaseResponse
     {
         Companies = companyRepository.GetAll(),
         Departments = departmentRepository.GetAll(),
         Operations = operationRepository.GetAll(),
         HireGroups = hireGroupRepository.GetAll(),
         VehicleModels = vehicleModelRepository.GetAll(),
         VehicleMakes = vehicleMakeRepository.GetAll(),
         VehicleCategories = vehicleCategoryRepository.GetAll(),
         TariffTypes = tariffTypeRepository.GetAll(),
     });
 }
Exemple #2
0
 /// <summary>
 /// Load Seasonal Discount Base data
 /// </summary>
 public SeasonalDiscountBaseResponse GetBaseData()
 {
     return(new SeasonalDiscountBaseResponse
     {
         Companies = companyRepository.GetAll(),
         Departments = departmentRepository.GetAll(),
         Operations = operationRepository.GetAll(),
         TariffTypes = tariffTypeRepository.GetAll(),
         OperationsWorkPlaces = operationsWorkPlaceRepository.GetAll(),
         VehicleCategories = vehicleCategoryRepository.GetAll(),
         VehicleModels = vehicleModelRepository.GetAll(),
         VehicleMakes = vehicleMakeRepository.GetAll(),
         HireGroups = hireGroupRepository.GetAll(),
         BpRatingTypes = ratingTypeRepository.GetAll(),
     });
 }