Exemple #1
0
        public async Task <ActionResult> ListAsync([FromQuery] string name = "")
        {
            List <Doctor> doctors = await doctorManager.FilterByNameAsync(name);

            return(new OkObjectResult(doctors));
        }