예제 #1
0
 public TariffTypeService(IDepartmentRepository departmentRepository, ICompanyRepository companyRepository, IMeasurementUnit measurementUnit,
                          IOperationRepository operationRepository, IPricingStrategyRepository pricingStrategyRepository, ITariffTypeRepository tariffTypeRepository)
 {
     this.operationRepository       = operationRepository;
     this.departmentRepository      = departmentRepository;
     this.companyRepository         = companyRepository;
     this.measurementUnit           = measurementUnit;
     this.pricingStrategyRepository = pricingStrategyRepository;
     this.tariffTypeRepository      = tariffTypeRepository;
 }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="measurementUnitRepo"></param>
 public MeasurementUnitService(IMeasurementUnit measurementUnitRepo)
 {
     this.measurementUnitRepo = measurementUnitRepo;
 }