Removed Repository methods which are not used and are not valid because they do not adhere to tenant scope boundaries

This commit is contained in:
Shaun Walker
2020-02-23 10:45:32 -05:00
parent 00914208ba
commit d18b4d574a
18 changed files with 51 additions and 58 deletions

View File

@ -16,11 +16,6 @@ namespace Oqtane.Repository
this.Permissions = Permissions;
}
public IEnumerable<Folder> GetFolders()
{
return db.Folder.ToList();
}
public IEnumerable<Folder> GetFolders(int SiteId)
{
IEnumerable<Permission> permissions = Permissions.GetPermissions(SiteId, "Folder").ToList();