Пример #1
0
        public ActionResult Edit(Product product)
        {
            var spContext = SharePointContextProvider.Current.GetSharePointContext(HttpContext);

            SharePointService.UpdateProduct(spContext, product);
            return(RedirectToAction("Index", new { SPHostUrl = SharePointContext.GetSPHostUrl(HttpContext.Request).AbsoluteUri }));
        }