public ContentControllerWorkerServices( UserManager <ApplicationUser> userManager, SCRMContext dbContext, IDatabase database, IHttpContextAccessor httpContextAccessor, IHostingEnvironment hostingEnvironment, IUrlService urlService, IStorageService storageService, ILogger <ContentControllerWorkerServices> logger) : base(userManager, dbContext, database, httpContextAccessor, hostingEnvironment, urlService, storageService, logger) { }
public AccountControllerWorkerServices( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, SCRMContext dbContext, IDatabase database, IHttpContextAccessor httpContextAccessor, IHostingEnvironment hostingEnvironment, IEmailSender emailSender, IUrlService urlService, IStorageService storageService, ILogger <AccountControllerWorkerServices> logger) : base(userManager, dbContext, database, httpContextAccessor, hostingEnvironment, urlService, storageService, logger) { this.SignInManager = signInManager ?? throw new ArgumentNullException(nameof(signInManager)); this.EmailSender = emailSender ?? throw new ArgumentNullException(nameof(emailSender)); }
public BaseControllerWorkerServices( UserManager <ApplicationUser> userManager, SCRMContext dbContext, IDatabase database, IHttpContextAccessor httpContextAccessor, IHostingEnvironment hostingEnvironment, IUrlService urlService, IStorageService storageService, ILogger <BaseControllerWorkerServices> logger) { this.UserManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); this.DbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); this.Database = database ?? throw new ArgumentNullException(nameof(database)); this.HttpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); this.HostingEnvironment = hostingEnvironment ?? throw new ArgumentNullException(nameof(hostingEnvironment)); this.UrlService = urlService ?? throw new ArgumentNullException(nameof(urlService)); this.StorageService = storageService ?? throw new ArgumentNullException(nameof(storageService)); this.Logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public Database(SCRMContext dbContext) { this.DbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); }