//products view for a given location /// <summary> /// View the products of the locations /// </summary> /// <param name="Id"></param> /// <returns></returns> public ActionResult Products(int Id) { List <Product> l = new List <Product>(); l = _partsBL.GetproductByLocationId(Id).ToList(); return(View(l)); }