Пример #1
0
 public AltaUserProvider(string login, IAltaUserRepository repository)
 {
     userIdentity = new AltaUserIdentity(login, repository);
 }
Пример #2
0
 public static User LogIn(this IAltaUserRepository repository, string login, string pass)
 {
     return(repository.GetUser(login, pass));
 }
 public AltaUserIdentity(string login, IAltaUserRepository repository)
 {
     this.login      = login;
     this.repository = repository;
 }
Пример #4
0
 public LoginController(IAltaUserRepository repository, IDataManager dataManager)
 {
     this.repository  = repository;
     this.dataManager = dataManager;
 }