package asa.service.impl;

import asa.service.ConstantsInterface;
import asa.service.AttendanceService;
//import asa.dao.ScheduleDAO ;
import asa.bean.Attendance;
//import asa.model.Schedule;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.BeanUtils;
import java.util.*;


@Service("attendanceService")
public class AttendanceServiceMock implements ConstantsInterface,AttendanceService{
	
	
	public boolean add(Attendance attendance){
		
		return true;		
 
	}
	
	public List<Attendance> get(String group,String date){
		List<Appointment> list = new ArrayList<>();
		
		
		list.add(new Appointment(names,"30/06/17","06:00 AM","Admin","Regular"));
		list.add(new Appointment(names,"30/06/17","07:00 AM","Admin","Regular"));
		list.add(new Appointment(names,"30/06/17","09:00 AM","Admin","Special"));
		return list;
    }
	}
}

@@ -558,21 +558,16 @@
 %09public 
-List%3C
 Attendan
@@ -568,17 +568,16 @@
 tendance
-%3E
  get(Str
@@ -606,300 +606,196 @@
 %7B%0A%09%09
-List%3CAppointment%3E list = new ArrayList%3C%3E();%0A%09%09%0A%09%09%0A%09%09list.add(new Appointment(names,%2230/06/17%22,%2206:00 AM%22,%22Admin%22,%22Regular%22));%0A%09%09list.add(new Appointment(names,%2230/06/17%22,%2207:00 AM%22,%22Admin%22,%22Regular%22));%0A%09%09list.add(new Appointment(names,%2230/06/17%22,%2209:00 AM%22,%22Admin%22,%22Special%22));%0A%09%09return list;
+%0A%09%09Map%3CString,Boolean%3E members= new HashMap%3C%3E();%0A%09%09%0A%09%09members.put('Ker',true);%0A%09%09members.put('Ver',true);%0A%09%09members.put('Ber',true);%0A%09%09%0A%09%09return new Attendance(%221%22,%2230/06/17%22,members));%0A%09%09
 %0A   

Update AttendanceServiceMock.java