コード例 #1
0
ファイル: BranchController.cs プロジェクト: arinsuga/taskup
        public ActionResult Details(int? id = null)
        {
            ViewBag.AC_MENU_ID = valMENU.MST_COMPANY_DETAILS;
            ViewBag.CRUD_type = hlpFlags_CRUDOption.VIEW;
            ViewBag.CRUDSavedOrDelete = TempData["CRUDSavedOrDelete"];

            this.oData = oDS.getData(id);
            if (this.oData == null) { return HttpNotFound(); }
            return View(this.oData);
        }
コード例 #2
0
        public ActionResult Details(int?id = null)
        {
            ViewBag.AC_MENU_ID = valMENU.PENGATURAN_CABANG_DETAILS;

            ViewBag.CRUD_type         = hlpFlags_CRUDOption.VIEW;
            ViewBag.CRUDSavedOrDelete = TempData["CRUDSavedOrDelete"];

            var oData = oDS.getData(id);

            if (oData == null)
            {
                return(HttpNotFound());
            }
            return(View(oData));
        }