public Task Delete(int id) { return(personApiClient.DeletePersonAsync(new DeletePersonRequestDto() { Id = id })); }
public async Task <string> DeleteAsync(int id) { return(await _api.DeletePersonAsync(id)); }