public AuthController(IControllerAPI controllerAPI, CryptingRSA cryptingRSA, LoginSystemAPI loginSystemAPI, SignUpSystemAPI signUpSystemAPI) { _loginSystemAPI = loginSystemAPI; _signUpSystemAPI = signUpSystemAPI; _controllerAPI = controllerAPI; _cryptingRSA = cryptingRSA; }
public MyProfilController(IControllerAPI controllerAPI, CryptingRSA cryptingRSA, ISessionManager sessionManager, EditUserSystemAPI editUserSystemAPI) { _controllerAPI = controllerAPI; _editUserSystemAPI = editUserSystemAPI; _cryptingRSA = cryptingRSA; _sessionManager = sessionManager; _userGlobal = new ModelsView_Globals.UserGlobal(); /* méthode */ }
public SessionManager(IHttpContextAccessor httpContextAccessor, IControllerAPI controllerAPI) { Session = httpContextAccessor.HttpContext.Session; _controllerAPI = controllerAPI; }