コード例 #1
0
        public ActionResult AddMedication(Common.Medication m, string PatientIds)
        {
            BusinessLayer.PatientsBL patient = new BusinessLayer.PatientsBL();
            try
            {
                m.PatientId_fk = Int32.Parse(PatientIds);

                patient.AddMedication(m);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(Json(null, JsonRequestBehavior.AllowGet));
        }