Esempio n. 1
0
        public ActionResult Recieve()
        {
            salesModel = salesBL.GetPOReieve();
            ViewBag.Page = "PO Recieve";
            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);
        }