コード例 #1
0
ファイル: HomeController.cs プロジェクト: maysrionn/workmayPP
 public HomeController(PalangPanyaDBContext context, SecurityDBContext scontext, IEmailSender emailSender, IConfiguration configuration, IHostingEnvironment env)
 {
     _context       = context;
     _scontext      = scontext;
     _emailSender   = emailSender;
     _configuration = configuration;
     _env           = env;
 }
コード例 #2
0
ファイル: SecurityController.cs プロジェクト: hibecki/workb
 public SecurityController(PalangPanyaDBContext context, SecurityDBContext scontext, IEmailSender emailSender, IConfiguration configuration, IHostingEnvironment env, ILoggerFactory loggerFactory)
 {
     _context       = context;
     _scontext      = scontext;
     _emailSender   = emailSender;
     _configuration = configuration;
     _env           = env;
     _logger        = loggerFactory.CreateLogger <SecurityController>();
 }
コード例 #3
0
 public SecurityMemberRolesController(SecurityDBContext scontext, PalangPanyaDBContext context)
 {
     _scontext = scontext;
     _context  = context;
 }
コード例 #4
0
 public SecurityRolesController(PalangPanyaDBContext context, SecurityDBContext scontext)
 {
     _context  = context;
     _scontext = scontext;
 }
コード例 #5
0
 public EmployeeController()
 {
     db = new SecurityDBContext();
 }
コード例 #6
0
 public SecurityRoleMenusController(SecurityDBContext scontext)
 {
     _scontext = scontext;
 }
コード例 #7
0
 public LoginController(IConfiguration config)
 {
     _config = config;
     db      = new SecurityDBContext();
 }