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