public UserCarsController(UserManager <NeedForCarsUser> userManager,
                           ICarsService carsService, IUserCarsService userCarsService, IImagesService imagesService,
                           IMakesService makesService, IModelsService modelsService, IGenerationsService generationsService)
 {
     this.userManager        = userManager;
     this.carsService        = carsService;
     this.userCarsService    = userCarsService;
     this.imagesService      = imagesService;
     this.makesService       = makesService;
     this.modelsService      = modelsService;
     this.generationsService = generationsService;
 }
 public CarsController(IUserCarsService userCarsService)
 {
     this.userCarsService = userCarsService;
 }
示例#3
0
 public ProfileController(UserManager <NeedForCarsUser> userManager, IUserCarsService userCarsService)
 {
     this.userManager     = userManager;
     this.userCarsService = userCarsService;
 }
 public UserCarsController(IUserCarsService repo)
 {
     this._repo = repo;
 }