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