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