Exemplo n.º 1
0
 public void InsertAppointment(string customerName, string streetAddress, string repairName, DateTime AppointmentTime)
 {
     try
     {
         repo.CreateAppointment(streetAddress, repairName, customerName, AppointmentTime);
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
     }
 }