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