Example #1
0
 public ActionResult PostViewAppointment(DoctorAppModel doctorAppModel)
 {
     using (ProjectEntities1 db = new ProjectEntities1())
     {
         db.UpdateAppStatus(doctorAppModel.AppointmentId, doctorAppModel.AppointmentStatus);
     }
     return(Json("Inserted"));
 }