public JsonResult Edit(IdeaModel model) { try { #region " [ Declaration ] " IdeaService _service = new IdeaService(); #endregion #region " [ Main processing ] " model.CreateBy = UserID; model.UpdateBy = UserID; model.CreateDate = DateTime.Now; model.UpdateDate = DateTime.Now; #endregion // Call to service return(this.Json(_service.Save(model), JsonRequestBehavior.AllowGet)); } catch (ServiceException serviceEx) { throw serviceEx; } catch (DataAccessException accessEx) { throw accessEx; } catch (Exception ex) { throw new ControllerException(FILE_NAME, "Edit", UserID, ex); } }