27 lines
745 B
C#
27 lines
745 B
C#
using System.Collections.Generic;
|
|
using _0_Framework.Domain;
|
|
using AccountManagement.Application.Contracts.Account;
|
|
using AccountManagement.Application.Contracts.Position;
|
|
using AccountManagement.Domain.AccountAgg;
|
|
|
|
namespace AccountManagement.Domain.PositionAgg;
|
|
|
|
public interface IPositionRepository : IRepository<long, Position>
|
|
{
|
|
|
|
List<PositionViewModel> GetPositions();
|
|
List<PositionViewModel> GetLowerPosition();
|
|
List<int> GetUnUsedPositionValues();
|
|
|
|
List<AccountViewModel> GetNoPositionAccounts();
|
|
List<AccountViewModel> GetAllPositionAccounts();
|
|
|
|
List<Account> GetAccountsByPositionIds(List<long> ids);
|
|
|
|
void Remove(long id);
|
|
|
|
int GetLastPositionValue();
|
|
bool HasPositionValue(long accountId);
|
|
|
|
|
|
} |