示例#1
0
 public IActionResult Delete(int id) => Json(new { n = factory.DeleteAndSave(id) });
示例#2
0
        public IActionResult Delete(int id)
        {
            var n = factory.DeleteAndSave(id);

            return(Json(new { n }));
        }