public UserStore(ArticleLibraryContext dbContext = null) { db = dbContext ?? new ArticleLibraryContext(); }
public SignallingController(ArticleLibraryContext dbContext, IHubContext <NotificationHub> hubContext) : base(dbContext) { senderHub = new NotificationSender(hubContext); }
public AmendmentController(ArticleLibraryContext dbContext, IHubContext <NotificationHub> hubContext) : base(dbContext, hubContext) { }
public EstimateController(ArticleLibraryContext dbContext, IHubContext <NotificationHub> hubContext) : base(dbContext, hubContext) { }
public AuthenticationController(ArticleLibraryContext dbContext, IConfiguration config) : base(dbContext) { _config = config; }
public ArticleController(ArticleLibraryContext dbContext, IHubContext <NotificationHub> hubContext) : base(dbContext, hubContext) { defaultCategories = new[] { "science", "politics", "literature", "travelling", "financies" }; }
public UserStore(ArticleLibraryContext dbContext) { db = dbContext; }
public HistoryController(ArticleLibraryContext dbContext) : base(dbContext) { }
public UserInfoController(ArticleLibraryContext dbContext, IConfiguration config) : base(dbContext) { _config = config; }
public LibraryControllerBase(ArticleLibraryContext dbContext) { this.dbContext = dbContext; }