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

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