public static string AllUserInfo() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.AppendLine($"Hello, {UserDbServices.GetCurrentUsername()}"); stringBuilder.AppendLine($"Your last operation was: {UserDbServices.GetLastOperation()}"); stringBuilder.AppendLine($"Your last login was: {UserDbServices.GetLastLoginDate()}"); stringBuilder.AppendLine($"You registered in GNA on: {UserDbServices.GetRegistrationDate()}"); return(stringBuilder.ToString()); }
public static void ChangeUserPassword(string newPassword) { UserDbServices.ChangePassword(newPassword); }