internal TransactionModel(ITransactionDTO source) { Id = source.Id; DT = source.DT; Payee = source.Payee.ToModel(); Recepient = source.Recepient.ToModel(); Amount = source.Amount; }
public static TransactionModel ToModel(this ITransactionDTO self) => new TransactionModel(self);