public FilePathResult Archive(int collageId) { Models.Archive archive = new Models.Archive(); string path = System.Web.HttpContext.Current.Server.MapPath("~\\App_Data\\Archive.xml"); XDocument doc = XDocument.Load(path); archive.Do_archive(collageId); return null; }
public FilePathResult Archive(int collageId) { Models.Archive archive = new Models.Archive(); string path = System.Web.HttpContext.Current.Server.MapPath("~\\App_Data\\Archive.xml"); XDocument doc = XDocument.Load(path); archive.Do_archive(collageId); return(null); }