mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05:00
16 lines
508 B
C#
16 lines
508 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Entities;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Repositories
|
|
{
|
|
public interface ITransactionRepository : IRepository<Transaction, Guid>
|
|
{
|
|
Task<ICollection<Transaction>> GetManyByUserIdAsync(Guid userId);
|
|
Task<ICollection<Transaction>> GetManyByOrganizationIdAsync(Guid organizationId);
|
|
Task<Transaction> GetByGatewayIdAsync(GatewayType gatewayType, string gatewayId);
|
|
}
|
|
}
|