Beispiel #1
0
 public AgentUserController(UserMgmtContext context, IRepository <Entities.Application> repository, UserManager <Entities.User> userManager, IOptions <AppSettings> settings) : base(userManager)
 {
     AppSetting  = settings.Value;
     _repository = repository;
     _context    = context;
 }
Beispiel #2
0
 public UserController(UserMgmtContext context, UserManager <Entities.User> userRepository, IOptions <AppSettings> settings) : base(userRepository)
 {
     AppSetting = settings.Value;
     _context   = context;
 }
Beispiel #3
0
 public RoleController(UserMgmtContext context, RoleManager <Entities.Role> roleManager)
 {
     _roleManager = roleManager;
     _context     = context;
 }
Beispiel #4
0
 public Repository(UserMgmtContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }