Esempio n. 1
0
 public IActionResult Delete(int id)
 {
     _targetService.Delete(new Target {
         Id = id
     });
     return(Json(null));
 }
Esempio n. 2
0
 public async Task <Target> Delete(Target model)
 {
     return(await service.Delete(model));
 }