示例#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)
 {
 }
示例#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)
 {
 }
示例#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)
 {
 }
示例#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;
 }
示例#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)
 {
 }
示例#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;
 }
示例#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)
 {
 }
示例#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)
 {
 }