Exemple #1
0
        public async Task Fetch_WhenCalled_ReturnPatientData()
        {
            var result = await _service.FetchPatientListAsync();

            // Assert
            Assert.True(result.Count() > 0);
        }
Exemple #2
0
        public async Task <IActionResult> Get()
        {
            var result = await _patientRegistrationService.FetchPatientListAsync();

            return(Ok(result));
        }