public ActionResult Edit(UpdateJournal updateJournal) { try { var journalServices = ServiceLocator.Instance.GetService<IJournalServices>(); if (updateJournal.Null()) { var failure = journalServices.GetResult(); return Json(failure); } journalServices.Update(updateJournal); var result = journalServices.GetResult(); return Json(result); } catch { return Json(1); } }