Files
server/src/Core/Repositories/ITransactionRepository.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
508 B
C#
Raw Normal View History

2019-01-31 16:45:01 -05:00
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Entities;
2019-02-01 22:22:08 -05:00
using Bit.Core.Enums;
2019-01-31 16:45:01 -05:00
namespace Bit.Core.Repositories
{
public interface ITransactionRepository : IRepository<Transaction, Guid>
{
Task<ICollection<Transaction>> GetManyByUserIdAsync(Guid userId);
Task<ICollection<Transaction>> GetManyByOrganizationIdAsync(Guid organizationId);
2019-02-01 22:22:08 -05:00
Task<Transaction> GetByGatewayIdAsync(GatewayType gatewayType, string gatewayId);
2019-01-31 16:45:01 -05:00
}
}