Ejemplo n.º 1
0
        public static bool InsertInDB(Test test)
        {
            var testcaseRepo = new ResultsRepository();
            var testcase     = new TestsDTO
            {
                Request        = test.Request,
                Response       = test.Response,
                ProcessingTime = test.ProcessingTime,
                UserId         = test.UserId,
                Uri            = test.Uri,
                ServiceName    = test.ServiceName
            };

            return(testcaseRepo.InsertTestcaseInDB(testcase));
        }