Пример #1
0
        public ActionResult EditForDischarge(EmergecyMasterModel model)
        {
            DischargeProvider dprovider = new DischargeProvider();

            if (ModelState.IsValid)
            {
                dprovider.Update(model);
                model.EmergencyMasterModelList = dprovider.GetSelectedData(model.EmergencyMasterId);
            }
            return(PartialView("_IndexForDischarge", model));
        }