/// <summary> /// view the orders of the based on the specific location /// </summary> /// <param name="Id"></param> /// <returns></returns> public ActionResult ViewOrders(int Id) { List <Order> o = new List <Order>(); o = _partsBL.GetOrderByLocationId(Id).ToList(); return(View(o)); }