Пример #1
0
        public static List <DepartmentCheck> GetChecksGivenReportID(int departmentID)
        {
            var departmentChex = new DepartmentCheck();
            List <DepartmentCheck> CARSdepartmentChex = repository.Query <DepartmentCheck>(@"exec tsprod.dbo." + SPDebug + " @TranType='GetChecksGivenReportID', @reportID=" + departmentID, departmentChex).ToList();

            repository.Close();
            return(CARSdepartmentChex);
        }
Пример #2
0
        public static List <DepartmentCheck> GetCARSDepartmentCheck()
        {
            var departmentChex = new DepartmentCheck();
            List <DepartmentCheck> CARSdepartmentChex = repository.Query <DepartmentCheck>(@"exec tsprod.dbo." + SPDebug + " @TranType='GetAllDepartmentChecks'", departmentChex).ToList();

            repository.Close();
            return(CARSdepartmentChex);
        }