// GET: Details.
 public ActionResult Details(int id)
 {
     return(View(ProductsBL.GetCategory(id)));
 }
 // API GET: GetCategory.
 public ActionResult GetCategory(int id)
 {
     return(Json(ProductsBL.GetCategory(id), JsonRequestBehavior.AllowGet));
 }