public TemplateViewEntity(int id, IUserViewEntity userTo, decimal amount) { this.Id = id; this.UserTo = userTo; this.Amount = amount; }
public TransactionViewEntity(long id, decimal amount, IUserViewEntity userFrom, IUserViewEntity userTo, DateTime date) { this.Id = id; this.Amount = amount; this.UserFrom = userFrom; this.UserTo = userTo; this.Date = date; }
public UserViewItem(IUserViewEntity viewEntity) { this.Id = viewEntity.Id; this.Name = viewEntity.Name; }