Example #1
0
 public ActionResult Details(string id = null)
 {
     ViewBag.CRUD_type = hlpFlags_CRUDOption.VIEW;
     var oData = oDS.getData(id);
     if (oData == null) { return HttpNotFound(); }
     return View(oData);
 }
Example #2
0
        public ActionResult Details(int? id = null)
        {
            //ViewBag.AC_MENU_ID = valMENU.CORE_USER_DETAILS;
            ViewBag.CRUD_type = hlpFlags_CRUDOption.VIEW;
            ViewBag.CRUDSavedOrDelete = TempData["CRUDSavedOrDelete"];

            var oData = oDS.getData(id);
            if (oData == null) { return HttpNotFound(); }
            prepareLookup();
            return View(oData);
        }