Пример #1
0
        private static void ClearUserData()
        {
            Console.WriteLine("This will clears and resets all user " +
                              "data (profile, favourites, diary, watchlist). Are " +
                              "you sure you want to do this? (Y/N)");
            string choice = Console.ReadLine().ToUpper();

            if (choice == "Y")
            {
                SqliteDataAccess.ClearProfile(user);
                appLoop = false;
            }
            else
            {
                Console.WriteLine("You have chosen not to clear " +
                                  "your data");
            }
        }