public Identity Validate(string username, string password) { UserPersistance persistance = new UserPersistance(); var user = persistance.GetUser(username); var identity = new Identity(); return identity; }
public Autenticator() { this.persistance = new UserPersistance(); }