Added method getAppointmentIdByGroupIdAndApplicantId which covered with ...

...test on each layer.