Ejemplo n.º 1
0
 public SeventyPercentClubViewModel(
     SeventyPercentClubEntry holders,
     SeventyClub.Domain.SeventyPercentClub seventyPercentClub)
 {
     VmHolders = new VmHolders(holders);
     VmEntries = new VmEntries(seventyPercentClub);
 }
Ejemplo n.º 2
0
 public VmHolders(SeventyPercentClubEntry holders)
 {
     Player1   = holders.Player1;
     Player2   = holders.Player2;
     HeldSince = holders.Date;
     Score     = holders.Score;
 }
Ejemplo n.º 3
0
 public static SeventyPercentClubEntryDto MapToDto(this SeventyPercentClubEntry domain) => ServiceMapper.Map <SeventyPercentClubEntryDto>(domain);