mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 10:27:18 +02:00
Rethinking the API
This commit is contained in:
1 parent
83628d21bd
commit
a4b3ae96fd
11 files changed
+127
-16
No files matched your search
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
public class AccountsSearchResponse
|
||||
{
|
||||
public int AccountsCount { get; set; }
|
||||
public ICollection<AccountsSearchResponseItem> Accounts { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
public class AccountsSearchResponseItem
|
||||
{
|
||||
///<summary>
|
||||
/// Player accountId
|
||||
///</summary>
|
||||
public long AccountId { get; set; }
|
||||
|
||||
///<summary>
|
||||
/// Player nick
|
||||
///</summary>
|
||||
public string Nickname { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,7 @@ using System.Text;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Common.Model
|
||||
{
|
||||
[Obsolete("Use AccountsSearchResponse instead")]
|
||||
public class AccountsSearchResult
|
||||
{
|
||||
public int TotalAccountsCount { get; set; }
|
||||
|
||||
Reference in new issue
Block a user