Beispiel #1
0
        // GET: ReturnToSupplier
        public ActionResult Index()
        {
            LocationBL.EmailID = User.Identity.Name;
            ViewBag.Location   = LocationBL.GetAll().Select(c => new SelectListItem()
            {
                Text  = c.LocationDesc,
                Value = c.LocationID,
            }).ToList();

            ViewBag.Vendor = VendorBL.GetVendorAll().Select(a => new SelectListItem()
            {
                Text  = a.Name1,
                Value = a.VendorID
            }).ToList();

            return(View(TransactionModel));
        }