Exemple #1
0
        public DataSet GetSubCategory(int category)
        {
            DataSet          dsGetSubCategory    = new DataSet();
            clsDLSubCategory objClsDLSubCategory = new clsDLSubCategory();

            dsGetSubCategory = objClsDLSubCategory.GetSubCategory(category);
            return(dsGetSubCategory);
        }
Exemple #2
0
        public int updateSubCategory(clsSubCategory objClsSubCategory)
        {
            try
            {
                clsDLSubCategory objClsDLSubCategory = new clsDLSubCategory();
                return(objClsDLSubCategory.upDateSubCategory(objClsSubCategory));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategory.cs", "updateSubCategory", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
Exemple #3
0
        public DataSet getAllCategoryID(clsCategoryWiseSearchReport objCategorywiseSearchReport)
        {
            try
            {
                clsDLSubCategory objClsDLSubCategory = new clsDLSubCategory();
                return(objClsDLSubCategory.getAllCategoryID(objCategorywiseSearchReport));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategory.cs", "getAllCategoryID", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
Exemple #4
0
        public DataSet getSubCategories()
        {
            try
            {
                clsDLSubCategory objclsDLSubCategory = new clsDLSubCategory();
                return(objclsDLSubCategory.getSubCategories());
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategory.cs", "getSubCategories", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
Exemple #5
0
        public DataSet GetEmployeeName(clsSubCategory objClsSubCategory)
        {
            try
            {
                clsDLSubCategory objClsDLSubCategory = new clsDLSubCategory();
                return(objClsDLSubCategory.GetEmployeeName(objClsSubCategory));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategory.cs", "GetEmployeeName", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
Exemple #6
0
        public DataSet DoesExistWhenEdited(clsSubCategory objClsSubCategory)
        {
            try
            {
                clsDLSubCategory objClsDLSubCategory = new clsDLSubCategory();
                return(objClsDLSubCategory.DoesExistWhenEdited(objClsSubCategory));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategory.cs", "DoesExistWhenEdited", ex.StackTrace);
                throw new V2Exceptions(ex.ToString(), ex);
            }
        }