Ejemplo n.º 1
0
        public ActionResult view_org()
        {
            int id = Convert.ToInt32(Request["id"]);

            Models.InventoryApp items = Models.InventoryApp.getOrg(id);

            // ViewData["org_id"] = items.orgId;


            Models.InventoryApp searchResults = Models.InventoryApp.getOrg(id);

            return(PartialView("_orgForm", searchResults));
        }
Ejemplo n.º 2
0
 public ActionResult view_entry(int id)
 {
     Models.InventoryApp items = Models.InventoryApp.getValue(id);
     // ViewBag["addressId"] = new int();
     ViewData["ID"]              = items.itemSerialNo;
     ViewData["addressOwnerId"]  = items.addressOwnerID;
     ViewData["addressLine1"]    = items.addressLine1;
     ViewData["addressstate"]    = items.addressState;
     ViewData["addressCity"]     = items.partName;
     ViewData["addressCountry"]  = items.addressCountry;
     ViewData["addressLine2"]    = items.addressLine2;
     ViewData["addressDate"]     = items.addressDate;
     ViewData["addressCategory"] = items.addressCategory;
     ViewData["addressPinCode"]  = items.addressPinCode;
     //  ViewBag["addressCi"] = "h";
     return(PartialView("_oneEntry", items));
 }