// GET: ProductController/Details/5
        //public ActionResult Details(int id)
        //{
        //    return View();
        //}

        //get
        public ActionResult Select()
        {
            int?   locid   = HttpContext.Session.GetInt32("locationID");
            string locname = HttpContext.Session.GetString("locationName");

            ViewData["Location"] = locname;
            //return View(_strBL.ViewProducts().Select(product => _mapper.cast2ProductVM(product)).ToList());
            return(View(_strBL.GetProductByLocID((int)locid).Select(product => _mapper.cast2ProductVM(product)).ToList()));
        }