public IActionResult Delete(long id) { userTaskRepository.Delete(id); return(RedirectToAction(nameof(Index))); }
public void Delete(long taskId) { userTaskRepository.Delete(taskId); }
public IActionResult Delete(long id) { userTaskRepository.Delete(id); return(RedirectToAction(nameof(Index))); }
public void Delete(long taskId) { userTaskRepository.Delete(taskId); }