mirror of
https://github.com/bitwarden/server
synced 2025-12-25 04:33:26 +00:00
15 lines
420 B
C#
15 lines
420 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Domains;
|
|
|
|
namespace Bit.Core.Repositories
|
|
{
|
|
public interface ISiteRepository : IRepository<Site>
|
|
{
|
|
Task<Site> GetByIdAsync(string id, string userId);
|
|
Task<ICollection<Site>> GetManyByUserIdAsync(string userId);
|
|
Task<ICollection<Site>> GetManyByUserIdAsync(string userId, bool dirty);
|
|
}
|
|
}
|