Пример #1
0
        public List <DefectTypeInfo> Get_Defect_Types_By_Id(int Defect_Type_Id, ref PaginationInfo pager)
        {
            List <DefectTypeInfo> defectTypes = new List <DefectTypeInfo>();

            DefectTypeRepo dRepo = new DefectTypeRepo();

            defectTypes = dRepo.Get_Defect_Types_By_Id(Defect_Type_Id, ref pager);

            return(defectTypes);
        }
Пример #2
0
        public DefectTypeInfo Get_Defect_Type_By_Id(int Defect_Type_Id)
        {
            DefectTypeInfo defectInfo = new DefectTypeInfo();

            DefectTypeRepo dRepo = new DefectTypeRepo();

            defectInfo = dRepo.Get_Defects_Type_By_Id(Defect_Type_Id);

            return(defectInfo);
        }
Пример #3
0
        public List <AutocompleteInfo> Get_Defect_Type_AutoComplete(string defect_Type_Name)
        {
            DefectTypeRepo dRepo = new DefectTypeRepo();

            return(dRepo.Get_Defect_Type_AutoComplete(defect_Type_Name));
        }
Пример #4
0
        public void Update(DefectTypeInfo defect)
        {
            DefectTypeRepo dRepo = new DefectTypeRepo();

            dRepo.Update(defect);
        }
Пример #5
0
        public void Insert(DefectTypeInfo defect)
        {
            DefectTypeRepo dRepo = new DefectTypeRepo();

            dRepo.Insert(defect);
        }