[OperationContract]
[FaultContract(typeof(ValidationFaultContract))]
[FaultContract(typeof(DbFaultContract))]
[SwaggerWcfTag("Currencies", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get the exchange rate between two currencies.", Description = "Returns the conversion rate for converting from the base currency to the quote currency")]
[WebGet(UriTemplate = "ExchangeRate/{baseCurrency}/{quoteCurrency}", ResponseFormat = WebMessageFormat.Json)]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.OK, Description = "Success")]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.BadRequest, Description = "Invalid currency pair provided", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.InternalServerError, Description = "An unexpected error occurred while processing the request.", Type = typeof(JsonErrorMessage))]
decimal GetExchangeRate(string baseCurrency, string quoteCurrency)