Exemplo n.º 1
0
        public double GetAccountBalanceByUser(User user)
        {
            bool isAutentificate = WebovaSluzba.Autentification(user.UserName, user.Password);

            if (!isAutentificate)
            {
                throw new SecurityException("User is not authentificated");
            }
            return(100);
        }
Exemplo n.º 2
0
 public bool CheckUserAccount(string userName, string password)
 {
     return(WebSvc.Autentification(userName, password));
 }