Exemplo n.º 1
0
        public async Task <ActionResult> Delete(int id)
        {
            bool b = await LinksService.DeleteByIdSavedAsync(id) > 0;

            return(ResultData(null, b, b ? "删除成功!" : "删除失败!"));
        }