public void Delete() { Console.WriteLine("Enter id of record you need to delete:"); var id = Int32.Parse(Console.ReadLine()); controller.Delete(id); }