public JsonResult MakeBooking(Appointment appt)
 {
     // statements to store new Appointment in a
     // repository would go here in a real project
     return Json(appt, JsonRequestBehavior.AllowGet);
 }
예제 #2
0
 public JsonResult MakeBooking(Appointment appt)
 {
     // Code to store appt in repository
     return Json(appt, JsonRequestBehavior.AllowGet);
 }
 public JsonResult MakeBooking(Appointment appointment)
 {
     return Json(appointment, JsonRequestBehavior.AllowGet);
 }
 public JsonResult MakeBooking(Appointment appt) {
     //in real project, add code to store appointment here
     return Json(appt, JsonRequestBehavior.AllowGet);
 }