示例#1
0
        public async Task <IActionResult> FilterByName(string name)
        {
            var response = await _service.FilterByName(name);

            if (response == null)
            {
                return(NoContent());
            }

            return(Ok(ToDTO(response)));
        }