Пример #1
0
        Negotiator returnNoTask_StatusNotFound(ITestClient testClient)
        {
            Trace.TraceInformation("returnNoTask_StatusNotFound(ITestClient testClient).1");

            testClient.SetNoTasksStatus();

            Trace.TraceInformation("returnNoTask_StatusNotFound(ITestClient testClient).2");

            return(Negotiate.WithStatusCode(HttpStatusCode.NotFound));
        }
Пример #2
0
 Negotiator returnNoTask_StatusNotFound(ITestClient testClient)
 {
     Trace.TraceInformation("returnNoTask_StatusNotFound(ITestClient testClient).1");
     
     testClient.SetNoTasksStatus();
     
     Trace.TraceInformation("returnNoTask_StatusNotFound(ITestClient testClient).2");
     
     return Negotiate.WithStatusCode(HttpStatusCode.NotFound);
 }