/** * Method returns all upcoming appointments based on given search parameters * * @param staffId * @param date * @param patientId * @return list of upcoming appointments for search parameters */ public List <IModel> getAllUpcomingAppointmentsForSearchParameters(int staffId, DateTime date, int patientId) { return(repo.getAllUpcomingAppointmentsForSearch(staffId, patientId, date)); }