Пример #1
0
 private TransactionTypeDto MapToDto(BuyAndHoldTransactionType transactionType)
 {
     return new TransactionTypeDto
     {
         Id = transactionType.Id,
         TransactionType = transactionType.Type
     };
 }
Пример #2
0
 private Service.Contract.Dtos.Dto MapTransactionType(BuyAndHoldTransactionType model)
 {
     return new Service.Contract.Dtos.Dto
     {
         Id = model.Id,
         Name = model.Type
     };
 }