public ActionResult Role(string id = null) { ViewBag.AC_MENU_RUID = valMENU.CPAR_USER_CREATE; ViewBag.CRUD_type = hlpFlags_CRUDOption.VIEW; var oData = oDS.getData_Userrole_DetailCPAR(id, hlpConfig.ConstantaInfo.MDLE_RUID); //var oData = oDS.getData(id); if (oData == null) { return HttpNotFound(); } return View(oData); }