Exemplo n.º 1
0
 public ZhService(
     IHttpContextAccessor ctxAcc,
     ZhContext context,
     UserManager <DbUser> userManager,
     SignInManager <DbUser> signInManager
     )
 {
     this.httpContext   = ctxAcc.HttpContext;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.context       = context;
 }
Exemplo n.º 2
0
 public HomeController(ZhContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 public ValuesController(ZhContext context)
 {
     this.context = context;
 }