public PhotosController(IHostingEnvironment host, IMapper mapper, IOptionsSnapshot <PhotoSettings> options, AutoCityDbContext context) { this.photoSettings = options.Value; this.context = context; this.options = options; this.mapper = mapper; this.host = host; }
public ModelController(AutoCityDbContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }
public AccountsController(AutoCityDbContext context, IMapper mapper, UserManager <ApplicationUser> userManager) { this.userManager = userManager; this.mapper = mapper; this.context = context; }
public ContactsController(AutoCityDbContext context, IMapper mapper) { this.mapper = mapper; this.context = context; }
public VehicleController(AutoCityDbContext context, IMapper mapper) { this.mapper = mapper; this.context = context; }