Example #1
0
        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);
        }
Example #2
0
        public override void Run(ApiClientCustomerAddContext context)
        {
            ExecuteNonQuery(context);

            if (context.Response.Success)
            {
                context.Response.Data = context.Response.Id;
            }
            // ExecuteNonQuery(context, Func<ApiClientCustomerAddRequest, string> keySpecifier);
        }