public ActionResult ReturnToSupplier() { salesModel = salesBL.GetReturnToSupplier(); ViewBag.Page = "Return To Supplier"; 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); }