Exemple #1
0
 public CarsController(ICarService carService, IModelCarService modelCarService, IMakeCarService makeCarService, IBodyCarService bodyCarService, ApplicationDbContext db, Cloudinary cloudinary, ICloudinaryService cloudinaryService, IFeatureService featureService, UserManager <ApplicationUser> userManager, IEngineService engineService)
 {
     this.carService      = carService;
     this.modelCarService = modelCarService;
     this.makeCarService  = makeCarService;
     this.bodyCarService  = bodyCarService;
     this.db                = db;
     this.cloudinary        = cloudinary;
     this.cloudinaryService = cloudinaryService;
     this.featureService    = featureService;
     this.userManager       = userManager;
     this.engineService     = engineService;
 }
Exemple #2
0
 public MakesController(IMakeCarService makeCarService, IModelCarService modelCarService)
 {
     this.makeCarService  = makeCarService;
     this.modelCarService = modelCarService;
 }