mirror of
https://github.com/bitwarden/server.git
synced 2026-02-02 07:03:11 +08:00
14 lines
347 B
C#
14 lines
347 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using Bit.Core.Domains;
|
|||
|
|
|
|||
|
|
namespace Bit.Core.Repositories
|
|||
|
|
{
|
|||
|
|
public interface IDeviceRepository : IRepository<Device, Guid>
|
|||
|
|
{
|
|||
|
|
Task<Device> GetByIdAsync(Guid id, Guid userId);
|
|||
|
|
Task<ICollection<Device>> GetManyByUserIdAsync(Guid userId);
|
|||
|
|
}
|
|||
|
|
}
|