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; }
public UserImage(IDbContextFetcher dbContextFetcher, IHostingEnvironment hostingEnvironment) { this._context = dbContextFetcher.FetchDbContext <Data.IDesignDbContext>(); this._hostingEnvironment = hostingEnvironment; }