package com.mpalourdio.hello.model;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

public interface TaskRepository extends CrudRepository<Task, Integer> {
    List<Task> findByTaskArchived(int taskArchivedFalse);

    List<Task> findByTaskStatus(String taskStatus);
}


@@ -113,16 +113,78 @@
 sitory;%0A
+import org.springframework.stereotype.Repository;%0A%0A@Repository
 %0Apublic 

Add Repository annotation