Example #1
0
        public ActionResult Details(int?id = null)
        {
            //ViewBag.AC_MENU_ID = valMENU.MODULE_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));
        }
Example #2
0
 public ActionResult Edit_planning(int?id = null)
 {
     ViewBag.AC_MENU_ID = valMENU.TSK_TASK_EDIT;
     ViewBag.CRUD_type  = hlpFlags_CRUDOption.UPDATE;
     this.oData_detail  = oDSDetail.getData(id);
     if (this.oData_detail == null)
     {
         return(HttpNotFound());
     }
     if (this.oData_detail.ASSIGNEE_ID != hlpConfig.SessionInfo.getAppResId())
     {
         return(RedirectToAction("Error403", "Error"));
     } //end if
     this.prepareLookup();
     this.setJson_progresssts();
     return(View(oData_detail));
 }