void IRateRepository.SaveRates(Feed rates)
        {
            JsonSerializer serializer = new JsonSerializer();
            serializer.Converters.Add(new JavaScriptDateTimeConverter());
            serializer.NullValueHandling = NullValueHandling.Ignore;
            Assembly assembly = Assembly.GetExecutingAssembly();

            using (StreamWriter sw = new StreamWriter(assembly.GetManifestResourceStream("EnterpriseCode.CurrencyConvertor.Data.ExchangeRates.json")))
            using (JsonWriter writer = new JsonTextWriter(sw))
            {
                serializer.Serialize(writer, rates);
            }
        }
 void IExchangeRateService.UpdateRates(Feed rates)
 {
     rateRepository.SaveRates(rates);
 }