コード例 #1
0
        public JsonResult Delete(PatientMedicalHistoryViewModel model)
        {
            int deleteindex = 0;

            try
            {
                deleteindex = PatientMedicalHistoryManager.DeleteHistory(model.PatientHistoryId);
            }
            catch (Exception exception)
            {
                throw new Exception(exception.Message);
            }
            return(deleteindex > 0 ? Reload() : ErroResult("Failed To saved"));
        }