Beispiel #1
0
        // Get by ID
        /// <summary>
        /// Get Detailed Information About Individual Exchange
        /// </summary>
        /// <param name="id"></param>
        /// <returns>ExchangeDetail model</returns>
        public IHttpActionResult Get(int id)
        {
            ExchangeService exchangeService = CreateExchangeService();
            var             exchange        = exchangeService.GetExchangeById(id);

            return(Ok(exchange));
        }