示例#1
0
        public async Task <JsonResult> Find(string id)
        {
            var result = await _marcaService.FindAsync("marcas/" + id);

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