Esempio n. 1
0
 public static Result deleteTask(Long id) {
   Task.delete(id);
   return redirect(routes.Application.tasks());
 }
Esempio n. 2
0
 public static Result deleteTask(Long id) {
   Task.delete(id);
   return redirect(routes.TaskController.tasks());
 }