public void Delete(IFileIO fileIO)
        {
            var site = ConvertToXelement();

            try
            {
                fileIO.Delete(site, _id);
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Error saving web site config: " + ex.Message);
            }
        }
Beispiel #2
0
 public void Delete(string fileName)
 {
     FileIO.Delete(fileName);
 }