예제 #1
0
        public async Task <IActionResult> GetAllMeetingGroups()
        {
            var clinics = await _schedulerModule.ExecuteQueryAsync(new GetAllMedicalStaffQuery());

            return(Ok(clinics));
        }
예제 #2
0
        public async Task <IActionResult> GetAllMeetingGroups(Guid doctorId, Guid nurseId)
        {
            var clinics = await _schedulerModule.ExecuteQueryAsync(new GetAllAppoitmentsForDoctorQuery(doctorId, nurseId));

            return(Ok(clinics));
        }