Exemplo n.º 1
0
        public async Task <ActionResult> ListAsync([FromQuery] string name = "")
        {
            List <Patient> patients = await patientManager.FilterByNameAsync(name);

            return(new OkObjectResult(patients));
        }