/// <summary> /// Initializes a new instance of the <see cref="MenuController" /> class. /// </summary> /// <param name="dbContext">The database context.</param> public DeptController(D2CmsDbContext dbContext) : base(dbContext) { }
/// <summary> /// Initializes a new instance of the <see cref="MenuController" /> class. /// </summary> /// <param name="dbContext">The database context.</param> public MenuController(D2CmsDbContext dbContext) : base(dbContext) { }
/// <summary> /// Initializes a new instance of the <see cref="DictTypeController"/> class. /// </summary> /// <param name="dbContext">The database context.</param> public DictTypeController(D2CmsDbContext dbContext) : base(dbContext) { }
/// <summary> /// Initializes a new instance of the <see cref="OAuthControllerBase" /> class. /// </summary> /// <param name="dbContext">The database context.</param> public OAuthControllerBase(D2CmsDbContext dbContext) { _dbContext = dbContext; }
/// <summary> /// Initializes a new instance of the <see cref="DictDataController" /> class. /// </summary> /// <param name="dbContext">The database context.</param> public DictDataController(D2CmsDbContext dbContext) : base(dbContext) { }
/// <summary> /// Initializes a new instance of the <see cref="UserController"/> class. /// </summary> /// <param name="appSettings">The application settings.</param> /// <param name="dbContext">The database context.</param> public UserController(IOptions <AppAuthenticationSettings> appSettings, D2CmsDbContext dbContext) : base(dbContext) { _appSettings = appSettings.Value; }
/// <summary> /// Initializes a new instance of the <see cref="DictDataController" /> class. /// </summary> /// <param name="dbContext">The database context.</param> public RoleController(D2CmsDbContext dbContext) : base(dbContext) { }
/// <summary> /// Initializes a new instance of the <see cref="ConfigsController" /> class. /// </summary> /// <param name="dbContext">The database context.</param> public ConfigsController(D2CmsDbContext dbContext) : base(dbContext) { }