public bool LoginPasswordReset(string userName) { try { UserLogin userLogin = new UserLogin() { UserName = userName, }; UserService userService = new UserService(); userLogin = userService.LoginPasswordReset(userLogin); return true; } catch (Exception e) { Logging.WriteToEventLog("USER LoginPasswordReset " + e.Message); return false; } }