
package asa.dao;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import asa.model.Schedule;

@Repository("scheduleDAO")
public interface ScheduleDAO extends MongoRepository<Schedule, String> {

    
    public List<Schedule> findAll();

}

@@ -324,12 +324,53 @@
 ndAll();
+%0A    public void save(Schedule schedule);
 %0A%0A%7D%0A

Update ScheduleDAO.java