public ActionResult Edit(ISPProduct model, HttpPostedFileBase upload) { if (Request.Cookies["ISPAdmin"] == null) { return(RedirectToAction("Login", "Account")); } if (ModelState.IsValid) { svc.EditProduct(model, upload); } return(RedirectToAction("Index")); }