public ActionResult view(string mip) { string res = ""; foreach (string item in mip.Split('\\')) { if (!item.Contains("Thumbnails")) { res += item + "\\"; } } res = res.Remove(res.Length - 1); needs = new DeletePhotoNeeds(res); return(View(needs)); }
// GET: Photo public ActionResult Delete(string mip) { needs = new DeletePhotoNeeds(mip); return(View(needs)); }