public ActionResult AddSample(string id) { if (!string.IsNullOrEmpty(id) && string.IsNullOrEmpty(Crypto.Decrypt(id))) return View("NotFound"); _productDataProvider = new ProductDataProvider(); ServiceResponse response = _productDataProvider.AddSample(id); return ShowUserFriendlyPages(response) ?? View(response.Data); }