Esempio n. 1
0
        public async Task <JsonResult> GetById(string id)
        {
            WebReq req      = new WebReq();
            string response = await req.InfoById(id);

            CoinInformation ci = JsonConvert.DeserializeObject <CoinInformation>(response);

            ci.Description = Regex.Replace(ci.Description, @"\t|\n|\r", "");
            return(Json(ci));
        }