Exemplo n.º 1
0
 public DesignsController(IDbContextFetcher dbContextFetcher, UserManager <MoxUser> userManager, IHostingEnvironment hostingEnvironment, INotificationSender notificationSender)
 {
     this._context            = dbContextFetcher.FetchDbContext <Data.IDesignDbContext>();
     this._userManager        = userManager;
     this._hostingEnvironment = hostingEnvironment;
     this._notificationSender = notificationSender;
 }
Exemplo n.º 2
0
 public UserImage(IDbContextFetcher dbContextFetcher, IHostingEnvironment hostingEnvironment)
 {
     this._context            = dbContextFetcher.FetchDbContext <Data.IDesignDbContext>();
     this._hostingEnvironment = hostingEnvironment;
 }