示例#1
0
        public async Task <TestRunSessionResponse> DeleteSessionAsync(int sessionId)
        {
            var session = await _dbService.DeleteAsync <TestRunSession>(sessionId);

            if (session == null)
            {
                return(null);
            }
            return(session.ToResponse());
        }
        public async Task <TestCaseResponse> DeleteAsync(int testCaseId)
        {
            var testCase = await _dbService.DeleteAsync <TestCase>(testCaseId);

            if (testCase == null)
            {
                return(null);
            }
            return(testCase.ToResponse());
        }