public TradeVoteViewModel(TradeVote domain)
 {
     UserID      = domain.User.Id;
     DisplayName = domain.User.UserName;
     Approved    = domain.Approved;
     Comment     = domain.Comment;
 }
Esempio n. 2
0
 public TradeVoteEntity(TradeVote domain)
 {
     TradeID   = domain.TradeID;
     UserID    = domain.User.Id;
     Approved  = domain.Approved;
     Comment   = domain.Comment;
     Timestamp = domain.Timestamp;
 }