Пример #1
0
        public IActionResult Get(int id)
        {
            var compareResult = compare.GetResult(id);

            var response = new
            {
                Result = compareResult.Result
            };

            return(new JsonResult(response));
        }