public CarSellerController( IAspNetUserService aspNetUserService, IBodyTypeService bodyTypeService, ICarSellerTypeService carSellerTypeService, ICarSellingOnService carSellingOnService, ICarSellerInfoService carSellerInfoService, ICarModelService carModelService, IMakeService makeService, ITransmissionTypeService transmissionTypeService, IFuelTypeService fuelTypeService, ICarSellerVehicleInfoService carSellerVehicleInfoService, ICarSellerMoreDetailService carSellerMoreDetailService, ICarSellerVehicleImagesService carSellerVehicleImagesService, ICarSellerVehicleFuelTypeService carSellerVehicleFuelTypeService, IEngineSizeService engineSizeService ) { _aspNetUserService = aspNetUserService; _carSellerTypeService = carSellerTypeService; _carSellingOnService = carSellingOnService; _bodyTypeService = bodyTypeService; _carModelService = carModelService; _makeService = makeService; _transmissionTypeService = transmissionTypeService; _fuelTypeService = fuelTypeService; _carSellerVehicleInfoService = carSellerVehicleInfoService; _carSellerMoreDetailService = carSellerMoreDetailService; _carSellerVehicleImagesService = carSellerVehicleImagesService; _carSellerInfoService = carSellerInfoService; _carSellerVehicleFuelTypeService = carSellerVehicleFuelTypeService; _engineSizeService = engineSizeService; }
public HomeController( ICarSellerVehicleInfoService carSellerVehicleInfoService, ICarSellerVehicleImagesService carSellerVehicleImagesService, ICarModelService carModelService, IMakeService makeService, ICarSellerVehicleFuelTypeService carSellerVehicleFuelTypeService, IBodyTypeService bodyTypeService, IFuelTypeService fuelTypeService, ITransmissionTypeService transmissionTyeService, ICarSellerTypeService carSellerTyeService, ICarSellingOnService carSellingOnService, ICarSellerMoreDetailService carSellerMoreDetailService, IAuctionHouseAddEditVehicleService auctionHouseAddEditVehicleService, IAuctionHouseSaleService auctionHouseSaleService) { _carSellerVehicleInfoService = carSellerVehicleInfoService; _carSellerVehicleImagesService = carSellerVehicleImagesService; _carSellerVehicleFuelTypeService = carSellerVehicleFuelTypeService; _carModelService = carModelService; _makeService = makeService; _bodyTypeService = bodyTypeService; _fuelTypeService = fuelTypeService; _transmissionTyeService = transmissionTyeService; _carSellerTyeService = carSellerTyeService; _carSellingOnService = carSellingOnService; _carSellerMoreDetailService = carSellerMoreDetailService; _auctionHouseAddEditVehicleService = auctionHouseAddEditVehicleService; _auctionHouseSaleService = auctionHouseSaleService; }
//public AccountController() // : this(new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ObjectContext()))) //{ //} public AccountController(ICountryService countryService, UserManager<ApplicationUser> userManager, RoleManager<IdentityRole> roleManager, ICarSellerTypeService carSellerTypeService, IAspNetUsersAdditionalInfoService aspNetUsersAdditionalInfoService, ISellerPersonalInfoService sellerPersonalInfoService, ICompanyTypeService companyTypeService, ISellerCompanyInfoService sellerCompanyInfoService, ISellerCompanyLogoService sellerCompanyLogoService ) { UserManager = userManager; RoleManager = roleManager; _countryService = countryService; _carSellerTypeService = carSellerTypeService; _aspNetUsersAdditionalInfoService = aspNetUsersAdditionalInfoService; _sellerPersonalInfoService = sellerPersonalInfoService; _companyTypeService = companyTypeService; _sellerCompanyInfoService = sellerCompanyInfoService; _sellerCompanyLogoService = sellerCompanyLogoService; }