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

@ -5,7 +5,6 @@ namespace Oqtane.Repository
{
public interface IFolderRepository
{
IEnumerable<Folder> GetFolders();
IEnumerable<Folder> GetFolders(int SiteId);
Folder AddFolder(Folder Folder);
Folder UpdateFolder(Folder Folder);

View File

@ -5,7 +5,7 @@ namespace Oqtane.Repository
{
public interface IModuleRepository
{
IEnumerable<Module> GetModules();
IEnumerable<Module> GetModules(int SiteId);
Module AddModule(Module Module);
Module UpdateModule(Module Module);
Module GetModule(int ModuleId);

View File

@ -5,7 +5,6 @@ namespace Oqtane.Repository
{
public interface IPageModuleRepository
{
IEnumerable<PageModule> GetPageModules();
IEnumerable<PageModule> GetPageModules(int SiteId);
PageModule AddPageModule(PageModule PageModule);
PageModule UpdatePageModule(PageModule PageModule);

View File

@ -5,7 +5,6 @@ namespace Oqtane.Repository
{
public interface IPageRepository
{
IEnumerable<Page> GetPages();
IEnumerable<Page> GetPages(int SiteId);
Page AddPage(Page Page);
Page UpdatePage(Page Page);

View File

@ -5,7 +5,6 @@ namespace Oqtane.Repository
{
public interface IProfileRepository
{
IEnumerable<Profile> GetProfiles();
IEnumerable<Profile> GetProfiles(int SiteId);
Profile AddProfile(Profile Profile);
Profile UpdateProfile(Profile Profile);

View File

@ -5,7 +5,6 @@ namespace Oqtane.Repository
{
public interface IRoleRepository
{
IEnumerable<Role> GetRoles();
IEnumerable<Role> GetRoles(int SiteId);
IEnumerable<Role> GetRoles(int SiteId, bool IncludeGlobalRoles);
Role AddRole(Role Role);

View File

@ -5,7 +5,6 @@ namespace Oqtane.Repository
{
public interface IUserRoleRepository
{
IEnumerable<UserRole> GetUserRoles();
IEnumerable<UserRole> GetUserRoles(int SiteId);
IEnumerable<UserRole> GetUserRoles(int UserId, int SiteId);
UserRole AddUserRole(UserRole UserRole);