Example #1
0
        public void When_Get_Selling_35_3182000_And_Plus_Fee_3percent()
        {
            var expected = "36.38";

            BotService botService = new BotService();
            var        actual     = botService.ExchangeRateDailyAverageWithFee("2017-02-01", "2017-02-01", "USD");

            Assert.Equal(expected, actual);
        }
Example #2
0
 public JsonResult ExchangeRateDailyAverageWithFee(string start_date, string end_date, string currency)
 {
     object result = _service.ExchangeRateDailyAverageWithFee(start_date, end_date, currency);
     return Json(result);
 }