Ejemplo n.º 1
0
        //Редактирование записи
        public void EditNote()
        {
            Console.Write("Введите id записи, которую хотите отредактировать: ");
            string enterId = Console.ReadLine();

            if (!CheckCorrectInput(enterId))
            {
                return;
            }
            Console.Write("Введите отредактированную запись: ");
            string enterNote = Console.ReadLine();

            db.EditNote(enterNote, enterId);
        }