예제 #1
0
        public ActionResult PhysicalInventory()
        {
            salesModel = salesBL.GetPhysicalInventory();
            ViewBag.Page = "Physical Inventory";
            ViewBag.Categories = salesModel.Categories.Select(c => new SelectListItem()
            {
                Text = c.CategoryDesc,
                Value = c.CategoryID,

            }).ToList();
            LocationBL.EmailID = User.Identity.Name;
            ViewBag.Locations = LocationBL.GetAll().Select(l => new SelectListItem()
            {
                Text = l.LocationDesc,
                Value = l.LocationID,

            }).ToList();
            return View("~/Views/Sales/Enquiry.cshtml", salesModel);
        }