Ejemplo n.º 1
0
 public HomeController(PalangPanyaDBContext context, SecurityDBContext scontext, IEmailSender emailSender, IConfiguration configuration, IHostingEnvironment env)
 {
     _context       = context;
     _scontext      = scontext;
     _emailSender   = emailSender;
     _configuration = configuration;
     _env           = env;
 }
Ejemplo n.º 2
0
 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>();
 }
Ejemplo n.º 3
0
 public SecurityMemberRolesController(SecurityDBContext scontext, PalangPanyaDBContext context)
 {
     _scontext = scontext;
     _context  = context;
 }
Ejemplo n.º 4
0
 public SecurityRolesController(PalangPanyaDBContext context, SecurityDBContext scontext)
 {
     _context  = context;
     _scontext = scontext;
 }
 public EmployeeController()
 {
     db = new SecurityDBContext();
 }
Ejemplo n.º 6
0
 public SecurityRoleMenusController(SecurityDBContext scontext)
 {
     _scontext = scontext;
 }
Ejemplo n.º 7
0
 public LoginController(IConfiguration config)
 {
     _config = config;
     db      = new SecurityDBContext();
 }