public WorkflowResponse(WorkflowRequest request)
 {
     if (request != null)
     {
         this.WaitSeconds = request.WaitSeconds;
     }
 }
        public static async Task <WorkflowResponse> FirstActivityAsync([ActivityTrigger] WorkflowRequest request, ILogger log)
        {
            WorkflowResponse retVal = new WorkflowResponse(request);

            log.LogInformation($"FirstActivity, waiting {request.WaitSeconds} seconds...");

            await Task.Delay(request.WaitSeconds * 1000);

            retVal.WaitSeconds = retVal.WaitSeconds + 1;

            return(retVal);
        }