Ejemplo n.º 1
0
        public global::System.Threading.Tasks.Task <global::StrawberryShake.IOperationResult <global::Client.IGetPeople> > GetPeopleAsync(
            GetPeopleOperation operation,
            global::System.Threading.CancellationToken cancellationToken = default)
        {
            if (operation is null)
            {
                throw new ArgumentNullException(nameof(operation));
            }

            return(_executor.ExecuteAsync(operation, cancellationToken));
        }
        public Task <IOperationResult <IPeople> > GetPeopleAsync(
            GetPeopleOperation operation,
            CancellationToken cancellationToken = default)
        {
            if (operation is null)
            {
                throw new ArgumentNullException(nameof(operation));
            }

            return(_executor.ExecuteAsync(operation, cancellationToken));
        }