From f84f0b1225fb5f9699927517d77a810bd300c288 Mon Sep 17 00:00:00 2001 From: gbubemismith Date: Wed, 20 Nov 2024 16:00:40 -0500 Subject: [PATCH] Added the GetManyByUserIdAsync signature to the repositiory --- src/Core/Vault/Repositories/ISecurityTaskRepository.cs | 3 ++- .../Vault/Repositories/SecurityTaskRepository.cs | 2 ++ .../Vault/Repositories/SecurityTaskRepository.cs | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Core/Vault/Repositories/ISecurityTaskRepository.cs b/src/Core/Vault/Repositories/ISecurityTaskRepository.cs index f2262f207..f75606d22 100644 --- a/src/Core/Vault/Repositories/ISecurityTaskRepository.cs +++ b/src/Core/Vault/Repositories/ISecurityTaskRepository.cs @@ -1,9 +1,10 @@ using Bit.Core.Repositories; using Bit.Core.Vault.Entities; +using Bit.Core.Vault.Enums; namespace Bit.Core.Vault.Repositories; public interface ISecurityTaskRepository : IRepository { - + Task> GetManyByUserIdAsync(Guid userId, IEnumerable status = null); } diff --git a/src/Infrastructure.Dapper/Vault/Repositories/SecurityTaskRepository.cs b/src/Infrastructure.Dapper/Vault/Repositories/SecurityTaskRepository.cs index 1674b965f..3c04f99b8 100644 --- a/src/Infrastructure.Dapper/Vault/Repositories/SecurityTaskRepository.cs +++ b/src/Infrastructure.Dapper/Vault/Repositories/SecurityTaskRepository.cs @@ -1,5 +1,6 @@ using Bit.Core.Settings; using Bit.Core.Vault.Entities; +using Bit.Core.Vault.Enums; using Bit.Core.Vault.Repositories; using Bit.Infrastructure.Dapper.Repositories; @@ -15,4 +16,5 @@ public class SecurityTaskRepository : Repository, ISecurityT : base(connectionString, readOnlyConnectionString) { } + public async Task> GetManyByUserIdAsync(Guid userId, IEnumerable status = null) => throw new NotImplementedException(); } diff --git a/src/Infrastructure.EntityFramework/Vault/Repositories/SecurityTaskRepository.cs b/src/Infrastructure.EntityFramework/Vault/Repositories/SecurityTaskRepository.cs index 82c06bcc6..f1abb63d1 100644 --- a/src/Infrastructure.EntityFramework/Vault/Repositories/SecurityTaskRepository.cs +++ b/src/Infrastructure.EntityFramework/Vault/Repositories/SecurityTaskRepository.cs @@ -1,4 +1,5 @@ using AutoMapper; +using Bit.Core.Vault.Enums; using Bit.Core.Vault.Repositories; using Bit.Infrastructure.EntityFramework.Repositories; using Bit.Infrastructure.EntityFramework.Vault.Models; @@ -11,4 +12,6 @@ public class SecurityTaskRepository : Repository context.SecurityTasks) { } + + public async Task> GetManyByUserIdAsync(Guid userId, IEnumerable status = null) => throw new NotImplementedException(); }