public CarsController(CarParadiseContext context, IMapper mapper) { this.Context = context; this.Mapper = mapper; }
protected HomeController(CarParadiseContext context, IMapper mapper) { this.Mapper = mapper; this.Context = context; }
protected CarsController(UserManager <User> userManager, CarParadiseContext context, IMapper mapper) : base(userManager) { this.Mapper = mapper; this.Context = context; }