Exemplo n.º 1
0
 /// <summary>
 /// Get Tariff Rate Base Data
 /// </summary>
 /// <returns></returns>
 public ServiceRateBaseResponse GetBaseData()
 {
     return(new ServiceRateBaseResponse
     {
         Operations = operationRepository.GetSalesOperation(),
         TariffTypes = tariffTypeRepository.GetAll(),
     });
 }
Exemplo n.º 2
0
 /// <summary>
 /// Load company Base data
 /// </summary>
 public AdditionalDriverBaseResponse GetBaseData()
 {
     return(new AdditionalDriverBaseResponse
     {
         Companies = companyRepository.GetAll(),
         Departments = departmentRepository.GetAll(),
         Operations = operationRepository.GetAll(),
         TariffTypes = tariffTypeRepository.GetAll(),
     });
 }
Exemplo n.º 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(),
     });
 }
Exemplo n.º 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(),
     });
 }
Exemplo n.º 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(),
     });
 }
Exemplo n.º 6
0
 /// <summary>
 /// Load All Tariff Type
 /// </summary>
 /// <returns></returns>
 public IEnumerable <TariffType> LoadAll()
 {
     return(tariffTypeRepository.GetAll());
 }