示例#1
0
        public async Task <ActionResult> ListAsync([FromQuery] string doctorId = "", string patientId = "", string from = "", string to = "")
        {
            List <Appointment> appointments = await appointmentsManager.FilterByDoctorIdPatientIdAsync(doctorId, patientId, from, to);

            return(new OkObjectResult(appointments));
        }