public static bool CheckIfListIsEmpty <T>(List <T> list, string activity)
 {
     if (list.Count == 0)
     {
         MessageHelepers.Message($"Sorry your {activity} are empty because you haven't tracked any activity!", ConsoleColor.Red);
         return(false);
     }
     return(true);
 }
        public static bool ThreeAttemptsPass(User user, string password)
        {
            for (int i = 1; i <= 3; i++)
            {
                if (user.Password != password)
                {
                    MessageHelepers.Message("Wrong password you have 3 attepts otherwise the app wil close", ConsoleColor.Red);
                    Console.Write("Password: ");
                    password = Console.ReadLine();

                    if (i == 3 && user.Password != password)
                    {
                        return(false);
                    }
                    ;
                }
            }
            return(true);
        }