Пример #1
0
 public ApiController(IMemorizerLogic memorizerLogic,
                      SignInManager <IdentityUser> signInManager,
                      UserManager <IdentityUser> userManager,
                      IOptions <JwtAuthentication> jwtAuthentication)
 {
     MemorizerLogic    = memorizerLogic;
     SignInManager     = signInManager;
     UserManager       = userManager;
     JwtAuthentication = jwtAuthentication;
 }
Пример #2
0
 public HomeController(IMemorizerLogic memorizerLogic)
 {
     MemorizerLogic = memorizerLogic;
 }