Ejemplo n.º 1
0
        public async Task <JsonResult> Delete([FromHeader(Name = "id")] Int32 id)
        {
            Debug.WriteLine($"Id {id}");
            await todoService.Remove(id);

            Debug.WriteLine("return");
            return(Json(1));
        }