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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 4
0
 public ContactsController(AutoCityDbContext context, IMapper mapper)
 {
     this.mapper  = mapper;
     this.context = context;
 }
 public VehicleController(AutoCityDbContext context, IMapper mapper)
 {
     this.mapper  = mapper;
     this.context = context;
 }