Esempio n. 1
0
 public void Delete(TaskItem item)
 {
     _TaskService.Delete(item);
 }
 public IActionResult Delete(TaskItem taskItem)
 {
     ITaskItemService.Delete(taskItem.ID);
     return(RedirectToAction(nameof(TaskList)));
 }