Example #1
0
 /// <summary>
 /// Get Tariff Rate Base Data
 /// </summary>
 /// <returns></returns>
 public ServiceRateBaseResponse GetBaseData()
 {
     return(new ServiceRateBaseResponse
     {
         Operations = operationRepository.GetSalesOperation(),
         TariffTypes = tariffTypeRepository.GetAll(),
     });
 }
 /// <summary>
 /// Load company Base data
 /// </summary>
 public AdditionalDriverBaseResponse GetBaseData()
 {
     return(new AdditionalDriverBaseResponse
     {
         Companies = companyRepository.GetAll(),
         Departments = departmentRepository.GetAll(),
         Operations = operationRepository.GetAll(),
         TariffTypes = tariffTypeRepository.GetAll(),
     });
 }
Example #3
0
 /// <summary>
 /// Load Chauffer Charge Base data
 /// </summary>
 public ChaufferChargeBaseResponse GetBaseData()
 {
     return(new ChaufferChargeBaseResponse
     {
         Companies = companyRepository.GetAll(),
         Departments = departmentRepository.GetAll(),
         Operations = operationRepository.GetAll(),
         TariffTypes = tariffTypeRepository.GetAll(),
         DesigGrades = designGradeRepository.GetAll(),
     });
 }
Example #4
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(),
     });
 }
Example #5
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(),
     });
 }
Example #6
0
 /// <summary>
 /// Load All Tariff Type
 /// </summary>
 /// <returns></returns>
 public IEnumerable <TariffType> LoadAll()
 {
     return(tariffTypeRepository.GetAll());
 }