public override async Task RunAsync(ApiClientCustomerAddContext context) { await ExecuteNonQueryAsync(context); if (context.Response.Success) { context.Response.Data = context.Response.Id; } // return ExecuteNonQueryAsync(context, Func<ApiClientCustomerAddRequest, string> keySpecifier); }
public override void Run(ApiClientCustomerAddContext context) { ExecuteNonQuery(context); if (context.Response.Success) { context.Response.Data = context.Response.Id; } // ExecuteNonQuery(context, Func<ApiClientCustomerAddRequest, string> keySpecifier); }