ConsoleApp1/Services/PersonService.cs
/// <summary>
/// Get person's first and last name by extracting them from random generated Person data
/// </summary>
/// <param name="parameters"></param>
/// <returns></returns>
Get person's first and last name by extracting them from random generated Person data
Get person ' s first and last name by extracting them from random generated Person data
public async Task<(string firstname, string lastname)> GetNamesAsync(IDictionary<string, string> parameters = null)
        {
            var person = await GetRandomPersonAsync(parameters);
            return (person?.Name, person?.Surname);
        }
public async Task < ( string firstname , string lastname ) > GetNamesAsync ( IDictionary < string , string > parameters = null ) { var person = await GetRandomPersonAsync ( parameters ) ; return ( person ? . Name , person ? . Surname ) ; }
Get person's first and last name by extracting them from random generated Person data
Get person ' s first and last name by extracting them from random generated Person data
None
parameters
IDictionary<string, string>
None