-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1 Change index VM, add players VM, support filters.
- Loading branch information
Showing
4 changed files
with
44 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Wuzlstats.ViewModels.Players | ||
{ | ||
public class IndexViewModel | ||
{ | ||
public int PlayerId { get; set; } | ||
public string Name { get; set; } | ||
public string Image { get; set; } | ||
public int Wins { get; set; } | ||
public int Losses { get; set; } | ||
public DateTime LastGamePlayedOn { get; set; } | ||
public int SingleGames { get; set; } | ||
public int TeamGames { get; set; } | ||
public string ActiveFilter { get; set; } | ||
public bool Recent { get; set; } | ||
public IEnumerable<PlayerViewModel> Players { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
|
||
namespace Wuzlstats.ViewModels.Players | ||
{ | ||
public class PlayerViewModel | ||
{ | ||
public int PlayerId { get; set; } | ||
public string Name { get; set; } | ||
public string Image { get; set; } | ||
public int Wins { get; set; } | ||
public int Losses { get; set; } | ||
public DateTime LastGamePlayedOn { get; set; } | ||
public int SingleGames { get; set; } | ||
public int TeamGames { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters