Exemplo n.º 1
0
        public HttpResponseMessage GetBigListPrependTestResults(int iterations)
        {
            TestModel   resultBL    = new TestModel();
            TestService testService = new Services.TestService();

            testService.ReadFiles();
            resultBL = testService.PrependTest(iterations, "BigList");
            return(Request.CreateResponse(HttpStatusCode.OK, resultBL));
        }
Exemplo n.º 2
0
        public HttpResponseMessage GetRopePrependTestResults(int iterations)
        {
            TestModel   resultRope  = new TestModel();
            TestService testService = new Services.TestService();

            //testService.ReadFiles();
            resultRope = testService.PrependTest(iterations, "Rope");
            return(Request.CreateResponse(HttpStatusCode.OK, resultRope));
        }
Exemplo n.º 3
0
        public HttpResponseMessage GetStringBuilderPrependTestResults(int iterations)
        {
            TestModel   resultSB    = new TestModel();
            TestService testService = new Services.TestService();

            testService.ReadFiles();
            resultSB = testService.PrependTest(iterations, "StringBuilder");
            return(Request.CreateResponse(HttpStatusCode.OK, resultSB));
        }