private static void ModeratorMethod(User user)
        {
            ModeratorMethodHelp();

            while (true)
            {
                var action = Console.ReadKey();

                switch (action.Key)
                {
                case ConsoleKey.Escape:
                    return;

                case ConsoleKey.D1:
                    Console.WriteLine();
                    Console.Write("Enter File's Name: ");
                    var name_1 = Console.ReadLine();
                    Console.Write("Enter File's Text: ");
                    var text_1 = Console.ReadLine();
                    fileLogic.CreateFile(user.Id, name_1, text_1);
                    break;

                case ConsoleKey.D2:
                    Console.WriteLine("Choose your file: ");
                    Console.WriteLine();
                    foreach (var item in fileLogic.ReadFilesByUser(user.Id.ToString()))
                    {
                        Console.WriteLine($"{item.ID} : {item.Name}");
                    }
                    Console.WriteLine();
                    Console.Write("Enter File's ID");
                    var id_2 = Console.ReadLine();
                    Console.Write("Enter File's TEXT");
                    var text_2 = Console.ReadLine();
                    Console.WriteLine();
                    fileLogic.UpdateText(id_2, text_2);
                    Console.WriteLine();
                    break;

                case ConsoleKey.D3:
                    Console.WriteLine("Choose file: ");
                    Console.WriteLine();
                    foreach (var item in fileLogic.ReadFiles())
                    {
                        Console.WriteLine($"{item.ID} : {item.Name}");
                    }
                    Console.Write("Enter File's ID");
                    var id_3 = Console.ReadLine();
                    Console.Write("Enter File's MARK");
                    var mark_3 = Console.ReadLine();
                    Console.WriteLine();
                    fileLogic.UpdateMark(id_3, mark_3);
                    Console.WriteLine();
                    break;

                case ConsoleKey.D4:
                    Console.WriteLine("Choose file: ");
                    Console.WriteLine();
                    foreach (var item in fileLogic.ReadFiles())
                    {
                        Console.WriteLine($"{item.ID} : {item.Name}");
                    }
                    Console.Write("Enter File's ID");
                    var id_4 = Console.ReadLine();
                    Console.Write("Enter Commit");
                    var commit_4 = Console.ReadLine();
                    Console.WriteLine();
                    commentLogic.CreateComment(id_4, commit_4);
                    Console.WriteLine();
                    break;

                case ConsoleKey.D5:
                    var result_5 = userLogic.GetUserById(user.Id);
                    Console.WriteLine($"ID: {result_5.Id}{Environment.NewLine}Name: {result_5.Name}{Environment.NewLine}Password: {result_5.Password}{Environment.NewLine}Role: {result_5.Role}{Environment.NewLine}");
                    break;

                case ConsoleKey.D6:
                    foreach (var item in fileLogic.ReadFilesByUser(user.Id.ToString()))
                    {
                        Console.WriteLine($"{item.ID} : {item.Name}");
                    }
                    Console.WriteLine();
                    break;

                case ConsoleKey.D7:
                    Console.WriteLine("Choose your file: ");
                    Console.WriteLine();
                    foreach (var item in fileLogic.ReadFilesByUser(user.Id.ToString()))
                    {
                        Console.WriteLine($"{item.ID} : {item.Name}");
                    }
                    Console.WriteLine();
                    Console.Write("Enter File's ID");
                    var id_7 = Console.ReadLine();
                    Console.WriteLine();
                    fileLogic.Delete(id_7);
                    Console.WriteLine();
                    break;

                case ConsoleKey.D8:
                    Console.WriteLine("Choose your file: ");
                    Console.WriteLine();
                    foreach (var item in fileLogic.ReadFiles())
                    {
                        Console.WriteLine($"{item.ID} : {item.Name}");
                    }
                    Console.WriteLine();
                    Console.Write("Enter File's ID");
                    var id_8 = Console.ReadLine();
                    Console.Write("Enter File's TEXT");
                    var text_8 = Console.ReadLine();
                    Console.WriteLine();
                    fileLogic.UpdateTextByAdmin(id_8, text_8);
                    Console.WriteLine();
                    break;

                case ConsoleKey.D0:
                    Console.WriteLine("Chose file: ");
                    Console.WriteLine("Enter File's ID: ");
                    var id_0 = Console.ReadLine();
                    foreach (var item in commentLogic.ReadCommentByFile(id_0))
                    {
                        Console.WriteLine($"ID: {item.Id}{Environment.NewLine}Comment: {item.Commenting}{Environment.NewLine}");
                    }
                    Console.WriteLine();
                    break;

                case ConsoleKey.Help:
                    ModeratorMethodHelp();
                    break;

                default:
                    break;
                }
            }
        }