Exemplo n.º 1
0
        private ProcessResponse Process(ProcessRequest processRequest, ProcessResponse processResponse)
        {
            // Add Validate

            HandlerBuilder.DoHandle(processRequest, processResponse);

            return(processResponse);
        }
Exemplo n.º 2
0
 public async Task <ProcessResponse> ProcessAsync(ProcessRequest processRequest, ProcessResponse processResponse)
 => await Task.Factory.StartNew(() => Process(processRequest, processResponse));