public ICurrencyConvertable InitialiseDefaultCurrencyForObject(ICurrencyConvertable booking) { //get values from either this class or web config booking.BookingPreferredCurrency = WebConfigurationManager.AppSettings["defaultCurrency"]; booking.BookingCurrencyExchangeRate = 1; //alwasy sone for default cuurency in DB booking.BookingCurrencyConversionSymbol = WebConfigurationManager.AppSettings["defaultCurrencySymbol"].ToString(); return(booking); }
public ICurrencyConvertable InitialiseDefaultCurrencyForObject(ICurrencyConvertable booking) { //get values from either this class or web config booking.BookingPreferredCurrency = WebConfigurationManager.AppSettings["defaultCurrency"]; booking.BookingCurrencyExchangeRate = 1; //alwasy sone for default cuurency in DB booking.BookingCurrencyConversionSymbol = WebConfigurationManager.AppSettings["defaultCurrencySymbol"].ToString(); return booking; }