示例#1
0
        public async Task <ActionResult> Delete(int id)
        {
            await _client.Delete("api/mytask/delete", id);

            return(RedirectToAction(nameof(Index)));
        }