Exemple #1
0
 public DealershipPerformanceReportBuilder(IDealershipRepository repository,
                                           IDealershipRevenueCalculator calculator, IDealershipPerformanceTargetsProvider provider)
 {
     this.repository = repository;
     this.calculator = calculator;
     this.provider   = provider;
 }
Exemple #2
0
 public DealershipPerformanceReportController(IDealershipRepository repository,
                                              IDealershipRevenueCalculator calculator, IDealershipPerformanceTargetsProvider provider)
 {
     this.builder = new DealershipPerformanceReportBuilder(
         repository, calculator, provider
         );
 }
Exemple #3
0
 public SeedingSQLDBFromZip(
     IDealershipData data,
     IDealershipRepository <Employee> employees,
     IDealershipRepository <Shop> shops,
     IDealershipRepository <Sale> sales,
     IDealershipRepository <Vehicle> vehicles)
 {
     this.data      = data;
     this.employees = employees;
     this.shops     = shops;
     this.vehicles  = vehicles;
     this.sales     = sales;
 }
 public EmployeeSeeder(IDealershipData data,
                       IDealershipRepository <Employee> employees,
                       IDealershipRepository <Position> positions,
                       IDealershipRepository <Country> countries,
                       IDealershipRepository <City> cities,
                       IDealershipRepository <Address> addresses,
                       IDealershipRepository <Shop> shops)
 {
     this.data      = data;
     this.employees = employees;
     this.positions = positions;
     this.countries = countries;
     this.cities    = cities;
     this.addresses = addresses;
     this.shops     = shops;
 }
Exemple #5
0
 public MongoDbSeeder(
     string connectionString,
     string databaseName,
     IDealershipData data,
     IDealershipRepository <Vehicle> vehicles,
     IDealershipRepository <Brand> brands,
     IDealershipRepository <Fuel> fuels,
     IDealershipRepository <VehicleType> vehicleTypes
     )
 {
     this.mongoDatabase = this.LoadData(connectionString, databaseName);
     this.mongoVehicles = this.GetVehicleRepositoryFromMongo(this.mongoDatabase);
     this.data          = data;
     this.vehicles      = vehicles;
     this.brands        = brands;
     this.fuels         = fuels;
     this.vehicleTypes  = vehicleTypes;
 }
Exemple #6
0
 public EmployeesController(IEmployeeRepository employeeRepository,
                            IConverterHelper converterHelper,
                            IDepartmentRepository departmentRepository,
                            IDealershipRepository dealershipRepository,
                            IZipCodeRepository zipCodeRepository,
                            ICityRepository cityRepository,
                            IUserHelper userHelper,
                            IMailHelper mailHelper)
 {
     _employeeRepository   = employeeRepository;
     _converterHelper      = converterHelper;
     _departmentRepository = departmentRepository;
     _dealershipRepository = dealershipRepository;
     _zipCodeRepository    = zipCodeRepository;
     _cityRepository       = cityRepository;
     _userHelper           = userHelper;
     _mailHelper           = mailHelper;
 }
 public DealershipsController(IDealershipRepository dealershipRepository,
                              IServicesSuppliedRepository servicesSuppliedRepository,
                              IServiceRepository serviceRepository,
                              IConverterHelper converterHelper,
                              ICityRepository cityRepository,
                              IZipCodeRepository zipCodeRepository,
                              IDepartmentRepository departmentRepository,
                              IDealershipDepartmentRepository dealershipDepartmentRepository,
                              IDealershipServiceRepository dealershipServiceRepository)
 {
     _dealershipRepository           = dealershipRepository;
     _servicesSuppliedRepository     = servicesSuppliedRepository;
     _serviceRepository              = serviceRepository;
     _converterHelper                = converterHelper;
     _cityRepository                 = cityRepository;
     _zipCodeRepository              = zipCodeRepository;
     _departmentRepository           = departmentRepository;
     _dealershipDepartmentRepository = dealershipDepartmentRepository;
     _dealershipServiceRepository    = dealershipServiceRepository;
 }
 public ScheduleDetailsController(IActiveScheduleRepository activeScheduleRepository,
                                  IUserHelper userHelper,
                                  IVehicleRepository vehicleRepository,
                                  IServicesSuppliedRepository servicesSuppliedRepository,
                                  IConverterHelper converterHelper,
                                  IDealershipRepository dealershipRepository,
                                  IScheduleDetailRepository scheduleDetailRepository,
                                  IServiceRepository serviceRepository,
                                  IEmployeeRepository employeeRepository)
 {
     _activeScheduleRepository = activeScheduleRepository;
     _userHelper                 = userHelper;
     _vehicleRepository          = vehicleRepository;
     _servicesSuppliedRepository = servicesSuppliedRepository;
     _converterHelper            = converterHelper;
     _dealershipRepository       = dealershipRepository;
     _scheduleDetailRepository   = scheduleDetailRepository;
     _serviceRepository          = serviceRepository;
     _employeeRepository         = employeeRepository;
 }
Exemple #9
0
 public ConverterHelper(IVehicleRepository vehicleRepository,
                        IBrandRepository brandRepository,
                        IFuelRepository fuelRepository,
                        IColorRepository colorRepository,
                        IUserHelper userHelper,
                        IZipCodeRepository zipCodeRepository,
                        ICountryRepository countryRepository,
                        IComboHelpers comboHelpers,
                        IServiceRepository serviceRepository,
                        IDealershipRepository dealershipRepository,
                        IDepartmentRepository departmentRepository)
 {
     _vehicleRepository    = vehicleRepository;
     _brandRepository      = brandRepository;
     _fuelRepository       = fuelRepository;
     _colorRepository      = colorRepository;
     _userHelper           = userHelper;
     _zipCodeRepository    = zipCodeRepository;
     _countryRepository    = countryRepository;
     _comboHelpers         = comboHelpers;
     _serviceRepository    = serviceRepository;
     _dealershipRepository = dealershipRepository;
     _departmentRepository = departmentRepository;
 }
Exemple #10
0
 public DealershipReportUsingMediatorController(IDealershipRepository repository)
 {
     this.repository = repository;
 }
 public DealershipReportUsingMediatorController(IDealershipRepository repository)
 {
     this.repository = repository;
 }
 public DealershipPerformanceReportController(IDealershipRepository repository,
     IDealershipRevenueCalculator calculator, IDealershipPerformanceTargetsProvider provider)
 {
     this.builder = new DealershipPerformanceReportBuilder(
         repository, calculator, provider
     );
 }
 public DealershipPerformanceReportBuilder(IDealershipRepository repository,
     IDealershipRevenueCalculator calculator, IDealershipPerformanceTargetsProvider provider)
 {
     this.repository = repository;
     this.calculator = calculator;
     this.provider = provider;
 }