Exemple #1
0
 public ActionResult GetUnHoldEnquiry()
 {
     salesModel         = salesBL.GetAllSalesUnhold();
     ViewBag.Page       = "Sales Hold Invoice";
     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));
 }