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