public static ToDto ( this t ) : |
||
t | this | |
return |
public static TradeDto ToDto(this Trade t)
{
return new TradeDto
{
TradeId = t.TradeId,
TraderName = t.TraderName,
CurrencyPair = t.CurrencyPair,
Notional = t.Notional,
DealtCurrency = t.DealtCurrency,
Direction = t.Direction,
SpotRate = t.SpotRate,
TradeDate = t.TradeDate,
ValueDate = t.ValueDate,
Status = t.Status
};
}
}