예제 #1
0
 public InventoryController(ICarDealerShipRepository <Vehicle> vehicleRepository, ICarDealerShipRepository <Make> makeRepository, ICarDealerShipRepository <VehicleModel> modelRepository, ISearchHelper searchHelper)
 {
     this.vehicleRepository = vehicleRepository;
     this.makeRepository    = makeRepository;
     this.modelRepository   = modelRepository;
     this.searchHelper      = searchHelper;
 }
예제 #2
0
 public SalesController(ICarDealerShipRepository <Vehicle> vehicleRepository, ICarDealerShipRepository <Purchase> purchaseRepository, ICarDealerShipRepository <Make> makeRepository, ICarDealerShipRepository <VehicleModel> modelRepository)
 {
     this.vehicleRepository  = vehicleRepository;
     this.purchaseRepository = purchaseRepository;
     this.makeRepository     = makeRepository;
     this.modelRepository    = modelRepository;
 }
예제 #3
0
 public AdminController(ICarDealerShipRepository <Make> makeRepo, IAddVehicleViewModelFactory addVehicleViewModelFactory, ICarDealerShipRepository <Vehicle> vehicleRepo, ICarDealerShipRepository <VehicleModel> modelRepo, IUserRepository userRepo, ICarDealerShipRepository <Special> specialRepo, IViewModelFactory viewModelFactory)
 {
     this.makeRepo = makeRepo;
     this.addVehicleViewModelFactory = addVehicleViewModelFactory;
     this.vehicleRepo      = vehicleRepo;
     this.modelRepo        = modelRepo;
     this.userRepo         = userRepo;
     this.specialRepo      = specialRepo;
     this.viewModelFactory = viewModelFactory;
 }
예제 #4
0
 public SearchHelper(ICarDealerShipRepository <Vehicle> vehicleRepository, ICarDealerShipRepository <Make> makeRepository, ICarDealerShipRepository <VehicleModel> modelRepository)
 {
     this.vehicleRepository = vehicleRepository;
     this.makeRepository    = makeRepository;
     this.modelRepository   = modelRepository;
 }
예제 #5
0
 public HomeController(ICarDealerShipRepository <Special> specialsRepository, ICarDealerShipRepository <Vehicle> vehicleRepository, ICarDealerShipRepository <ContactForm> contactRepository)
 {
     this.specialsRepository = specialsRepository;
     this.vehicleRepository  = vehicleRepository;
     this.contactRepository  = contactRepository;
 }