@@ -0,0 +1,987 @@
+package asa.service.impl;%0A%0Aimport asa.service.ConstantsInterface;%0Aimport asa.service.AppointmentService;%0Aimport asa.dao.ScheduleDAO ;%0Aimport asa.model.Appointment;%0Aimport asa.model.Schedule;%0Aimport org.springframework.stereotype.Service;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.beans.BeanUtils;%0A%0A%0A%0A@Service(%22appointmentService%22)%0Apublic class AppointmentServiceImpl implements ConstantsInterface,AppointmentService%7B%0A%09%0A%09@Autowired%0A%09private ScheduleDAO scheduleDAO;%0A%09%0A%09public String authenticate(String username, String password)%7B%0A%09%09%0A    public List%3CAppointment%3E get()%7B%0A    %0A    %7D%0A    %0A%09  public boolean add(Appointment appointment)%7B%0A      BeanUtils.copyProperties(Appointment,Schedule);%0A      try%7B%0A        scheduleDAO.save(Schedule);%0A      %7D%0A      %0A      //failure%0A      catch(Exception e)%7B%0A        System.out.println(%22add Appointment failed due to:%5Cn%22+e);%0A        return false;%0A      %7D%0A      %0A      //success%0A      return true;%0A    %7D%0A%09%0A%7D%0A

Create AppointmentServiceImpl.java