include client name in stats info result
This commit is contained in:
parent
fa79f4af73
commit
b8d5495055
@ -5,6 +5,11 @@ namespace Stats.Dtos
|
||||
{
|
||||
public class StatsInfoResult
|
||||
{
|
||||
/// <summary>
|
||||
/// client name
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ranking on the server
|
||||
/// </summary>
|
||||
|
@ -44,6 +44,7 @@ namespace Stats.Helpers
|
||||
.Where(_stats => _stats.ClientId == query.ClientId)
|
||||
.Select(_stats => new StatsInfoResult
|
||||
{
|
||||
Name = _stats.Client.CurrentAlias.Name,
|
||||
ServerId = _stats.ServerId,
|
||||
Kills = _stats.Kills,
|
||||
Deaths = _stats.Deaths,
|
||||
|
Loading…
Reference in New Issue
Block a user