Exemplo n.º 1
0
 public PlayerProfile LoginPlayer(string username, string password)
 {
     try
     {
         return(_infoController.LoginPlayer(username, password));
     }
     catch (InvalidUsernameException ue)
     {
         throw new FaultException <InvalidUsernameFault>(new InvalidUsernameFault());
     }
     catch (InvalidPasswordException pe)
     {
         throw new FaultException <InvalidPasswordFault>(new InvalidPasswordFault());
     }
 }