public ActionResult DeleteProduct(int id) { if (!LoggedIn()) { return(RedirectToAction("LogIn")); } bool deleteOk = dbBLL.DeleteProduct(id); //if (deleteOk) return(RedirectToAction("AdminProducts")); }