Example #1
0
File: User.cs Project: dina200/RC
 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();
 }