public AccountManagerErrorCode Register(string username, string password) { // initialize connection InitializeConnection(); try { return(_service.Register(username, HashHelper.GetMd5Hash(password))); } catch (Exception e) { FatalError(e); return(AccountManagerErrorCode.UnknownExceptionOccured); } }