コード例 #1
0
        public ActionResult AppointmentAbsent(string appointmentId)
        {
            Guid             id          = Guid.Parse(appointmentId);
            AppointmentModel appointment = new AppointmentModel();

            appointment.AppointmentId = id;
            PractitionerProcess process = new PractitionerProcess();
            int result = process.AppointmentAbsent(appointment);

            //if result = 1 then success, if 0 means fail
            return(Json(result, JsonRequestBehavior.AllowGet));
        }