예제 #1
0
        public async Task <IActionResult> GetAllAsync()
        {
            var response = await _personAppService.GetAllAsync();

            if (response.Any())
            {
                return(Ok(response));
            }

            return(NoContent());
        }