Ejemplo n.º 1
0
 public ExchangeRate MapToExchangeRate(RM.Rate rate, Country country, long baseCurrencyId)
 {
     return(new ExchangeRate()
     {
         CountryId = country.Id,
         BaseCurrencyId = baseCurrencyId,
         Rate = rate.ExchangeRate,
         CreateDate = DateTime.Now
     });
 }
Ejemplo n.º 2
0
 public void MapToExchangeRate(ExchangeRate exchangeRate, RM.Rate rate)
 {
     exchangeRate.Rate       = rate.ExchangeRate;
     exchangeRate.CreateDate = DateTime.Now;
 }