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