public ActionResult Details(int id) { var productModel = _productBLL.find(id); if(productModel==null) return RedirectToAction("AllProducts"); return View(productModel); }