コード例 #1
0
 public string DeleteItems(int folderID)
 {
     try
     {
         int count = BrowseUploadFactory.DeleteFolders(folderID);
         if (count == 0)
         {
             return("Success");
         }
         else
         {
             return(Localization.Get("DeleteFolderFailed", "Text", Constants.LocalResourcesFile, Library.Extension.ShowMissingKeysStatic, Localization.SharedMissingPrefix));
         }
     }
     catch (Exception ex)
     {
         DotNetNuke.Services.Exceptions.Exceptions.LogException(ex);
         return(ex.Message.ToString());
     }
 }