public object RenameFolder(object folderId, string newTitle)
 {
     if ("/".Equals(MakePath(folderId)))
     {
         //It's root folder
         SharpBoxDaoSelector.RenameProvider(SharpBoxProviderInfo, newTitle);
         //rename provider customer title
         var folder = GetFolderById(folderId);
         return(MakeId(folder));
     }
     else
     {
         //rename folder
         var folder = GetFolderById(folderId);
         if (SharpBoxProviderInfo.Storage.RenameFileSystemEntry(folder, newTitle))
         {
             //Folder data must be already updated by provider
             //We can't search google folders by title because root can have multiple folders with the same name
             //var newFolder = SharpBoxProviderInfo.Storage.GetFileSystemObject(newTitle, folder.Parent);
             return(MakeId(folder));
         }
     }
     return(folderId);
 }