public ActionResult UpdateImageDescription(string descriptionOption, string id, string database, string language) { if (!IsSitecoreUser()) { return(LoginPage()); } if (string.IsNullOrEmpty(descriptionOption)) { return(View("ImageDescription")); } Item item = DataWrapper.GetItemByIdValue(id, database); if (item == null) { return(View("ImageDescription")); } MediaItem m = item; DataWrapper.SetImageAlt(m, descriptionOption); return(View("ImageDescription", SearchService.GetImageDescription(m, language))); }