Exemplo n.º 1
0
 /// <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)
 {
 }
Exemplo n.º 2
0
 /// <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)
 {
 }
Exemplo n.º 3
0
 /// <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)
 {
 }
Exemplo n.º 4
0
 /// <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;
 }
Exemplo n.º 5
0
 /// <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)
 {
 }
Exemplo n.º 6
0
 /// <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;
 }
Exemplo n.º 7
0
 /// <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)
 {
 }
Exemplo n.º 8
0
 /// <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)
 {
 }