mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-24 03:40:07 +02:00
Preparing for the History query
This commit is contained in:
1 parent
ddbf42e7bb
commit
ed52a65788
14 files changed
+334
-6
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ using WotBlitzStatisticsPro.DataAccess.Model.Accounts;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Logic.AccountInformationPipeline
|
||||
{
|
||||
public class AccountInformationPipelineContext
|
||||
public class AccountInformationPipelineContext: IDatabasePipelineContext
|
||||
{
|
||||
public AccountInformationPipelineContext(
|
||||
long accountId,
|
||||
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
using WotBlitzStatisticsPro.DataAccess.Model.Accounts;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Logic.AccountInformationPipeline
|
||||
{
|
||||
public class HistoryInformationPipelineContext: IDatabasePipelineContext
|
||||
{
|
||||
public HistoryInformationPipelineContext(
|
||||
long accountId,
|
||||
RealmType realmType,
|
||||
RequestLanguage requestLanguage)
|
||||
{
|
||||
AccountId = accountId;
|
||||
RealmType = realmType;
|
||||
RequestLanguage = requestLanguage;
|
||||
}
|
||||
|
||||
|
||||
public long AccountId { get; }
|
||||
public RealmType RealmType { get; }
|
||||
public RequestLanguage RequestLanguage { get; }
|
||||
|
||||
public AccountInfo DbAccountInfo { get; set; }
|
||||
|
||||
|
||||
public AccountInfoHistoryResponse Response { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Logic.AccountInformationPipeline
|
||||
{
|
||||
public interface IAccountPipelineContext
|
||||
{
|
||||
long AccountId { get; }
|
||||
RealmType RealmType { get; }
|
||||
RequestLanguage RequestLanguage { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using WotBlitzStatisticsPro.DataAccess.Model.Accounts;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Logic.AccountInformationPipeline
|
||||
{
|
||||
public interface IDatabasePipelineContext: IAccountPipelineContext
|
||||
{
|
||||
AccountInfo DbAccountInfo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user