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

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