1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 10:13:39 +00:00

Support for CipherKey and Share APIs

This commit is contained in:
Kyle Spearrin
2017-02-27 22:58:01 -05:00
parent 48cf44f5b2
commit 8c7f1dd343
27 changed files with 144 additions and 53 deletions

View File

@@ -1,11 +1,13 @@
using System;
using Bit.Core.Domains;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Bit.Core.Repositories
{
public interface IShareRepository : IRepository<Share, Guid>
{
Task<Share> GetByIdAsync(Guid id, Guid userId);
Task<ICollection<Share>> GetManyByCipherId(Guid id);
}
}