Пример #1
0
        public async Task <JsonResult> Find(string id)
        {
            var result = await _modeloService.FindAsync("modelos/" + id);

            if (result != null)
            {
                return(Json(result));
            }
            else
            {
                return(Json(null));
            }
        }