public void deleteRent(dbHelper db) { Console.Write("Rent's num:\n"); try { int num = Convert.ToInt32(Console.ReadLine()); db.deleteRent(num); } catch (Exception e) { Console.Write("Not corrct data:\n"); } Console.Read(); Console.Read(); }
public void deleteRent(dbHelper db) { Console.Write("Rent's num:\n"); try { int num = Convert.ToInt32(Console.ReadLine()); db.deleteRent(num); } catch (Exception e) { Console.Write("Not corrct data:\n"); } Console.Read(); Console.Read(); }