From d7a1cd1ce3ae85a015727c54ccf0c0b3dcea3acd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 18 Mar 2017 00:02:06 -0400 Subject: [PATCH] cipher repo interface to use details --- src/Core/Repositories/ICipherRepository.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Core/Repositories/ICipherRepository.cs b/src/Core/Repositories/ICipherRepository.cs index 4dd8e88d9..2305909f6 100644 --- a/src/Core/Repositories/ICipherRepository.cs +++ b/src/Core/Repositories/ICipherRepository.cs @@ -2,15 +2,16 @@ using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Models.Table; +using Core.Models.Data; namespace Bit.Core.Repositories { public interface ICipherRepository : IRepository { Task GetByIdAsync(Guid id, Guid userId); - Task> GetManyByUserIdAsync(Guid userId); - Task> GetManyByTypeAndUserIdAsync(Enums.CipherType type, Guid userId); - Task, ICollection>> GetManySinceRevisionDateAndUserIdWithDeleteHistoryAsync( + Task> GetManyByUserIdAsync(Guid userId); + Task> GetManyByTypeAndUserIdAsync(Enums.CipherType type, Guid userId); + Task, ICollection>> GetManySinceRevisionDateAndUserIdWithDeleteHistoryAsync( DateTime sinceRevisionDate, Guid userId); Task UpdateUserEmailPasswordAndCiphersAsync(User user, IEnumerable ciphers); Task CreateAsync(IEnumerable ciphers);