public ActionResult Event_DeleteById(EventBase EventBase) { try { actionResult.dtResult = EventDL.Event_DeleteById(EventBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }