Пример #1
0
 //проверяет существование пользователя на сервере
 static public bool Exist()
 {
     try
     {
         AccountClient server = new AccountClient();
         return server.Exist(GetUserEmail(), GetUserPass());
     }
     catch (SqlException ex)
     {
         throw new Exception(ex.ToString());
     }
 }
 public override bool ValidateUser(string email, string password)
 {
     AccountClient accountClient = new AccountClient();
     return accountClient.Exist(email, password);
 }