using FrameworkDAL.CustomCode.TestCase; using FrameworkDAL.DTO.Testing; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace FrameworkBLL.TestCase { public class TestCaseBLL : ITestCaseBLL { private readonly ITestCaseDAL _TestCaseDAL; public TestCaseBLL(ITestCaseDAL TestCaseDAL) { _TestCaseDAL = TestCaseDAL; } public async Task> GetSelectListTestCase( int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { return await _TestCaseDAL.GetSelectListTestCase(FirstNumber, MaxResult, CriteriaDTO, LoginDTO); } catch (Exception) { throw; } } public async Task GetSelectListTestCaseCount(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { return await _TestCaseDAL.GetSelectListTestCaseCount(CriteriaDTO, LoginDTO); } catch (Exception) { throw; } } } }