-
-
Notifications
You must be signed in to change notification settings - Fork 507
Expand file tree
/
Copy pathISavedViewRepository.cs
More file actions
16 lines (13 loc) · 944 Bytes
/
ISavedViewRepository.cs
File metadata and controls
16 lines (13 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Exceptionless.Core.Models;
using Foundatio.Repositories;
using Foundatio.Repositories.Models;
namespace Exceptionless.Core.Repositories;
public interface ISavedViewRepository : IRepositoryOwnedByOrganization<SavedView>
{
Task<FindResults<SavedView>> GetByViewAsync(string organizationId, string view, CommandOptionsDescriptor<SavedView>? options = null);
Task<FindResults<SavedView>> GetByViewForUserAsync(string organizationId, string view, string userId, CommandOptionsDescriptor<SavedView>? options = null);
Task<FindResults<SavedView>> GetByOrganizationForUserAsync(string organizationId, string userId, CommandOptionsDescriptor<SavedView>? options = null);
Task<long> CountByOrganizationIdAsync(string organizationId);
/// <summary>Removes all private saved views belonging to a specific user within an organization.</summary>
Task<long> RemovePrivateByUserIdAsync(string organizationId, string userId);
}