public async Task <IActionResult> GetAddresses([FromQuery] string searchTerm) { var result = await _orchestrator.GetAddresses(searchTerm); return(Ok(result)); }
public async Task <GetAddressesListResponse> GetAddresses() { return(await Sut.GetAddresses("NN1")); }