예제 #1
0
        public DataSet getEmployeeNames()
        {
            try
            {
                clsDLSubCategoryAssignment objClsDLSubCategoryAssignment = new clsDLSubCategoryAssignment();
                return(objClsDLSubCategoryAssignment.getEmployeeNames());
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategoryAssignment.cs", "getEmployeeNames", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
예제 #2
0
        public DataSet CountNoOfCategory(clsSubCategoryAssignment objSubCategoryAssignment)
        {
            try
            {
                clsDLSubCategoryAssignment objClsDLSubCategoryAssignment = new clsDLSubCategoryAssignment();
                return(objClsDLSubCategoryAssignment.CountNoOfCategory(objSubCategoryAssignment));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategoryAssignment.cs", "CountNoOfCategory", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
예제 #3
0
        public int DoesEmployeeExist(clsSubCategoryAssignment objClsSubCategoryAssignment)
        {
            try
            {
                clsDLSubCategoryAssignment objClsDLSubCategoryAssignment = new clsDLSubCategoryAssignment();
                return(objClsDLSubCategoryAssignment.DoesEmployeeExist(objClsSubCategoryAssignment));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategoryAssignment.cs", "DoesEmployeeExist", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
예제 #4
0
        public void deleteSubCategory(clsSubCategoryAssignment objClsSubCategoryAssignment)
        {
            try
            {
                clsDLSubCategoryAssignment objClsDLSubCategoryAssignment = new clsDLSubCategoryAssignment();
                objClsDLSubCategoryAssignment.deleteSubCategory(objClsSubCategoryAssignment);
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategoryAssignment.cs", "deleteSubCategory", ex.StackTrace);
                throw new V2Exceptions();
            }
        }
예제 #5
0
        public DataSet GetAssignedSubCategories(Model.clsSubCategoryAssignment objSubCategoryAssignment)
        {
            try
            {
                clsDLSubCategoryAssignment objClsDLSubCategoryAssignment = new clsDLSubCategoryAssignment();
                return(objClsDLSubCategoryAssignment.GetAssignedSubCategories(objSubCategoryAssignment));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategoryAssignment.cs", "GetAssignedSubCategories", ex.StackTrace);
                throw new V2Exceptions(ex.ToString(), ex);
            }
        }
예제 #6
0
        public void CheckSuperAdmin1(clsSubCategoryAssignment objClsSubCategoryAssignment)
        {
            try
            {
                clsDLSubCategoryAssignment objClsDLSubCategoryAssignment = new clsDLSubCategoryAssignment();
                objClsDLSubCategoryAssignment.CheckSuperAdmin1(objClsSubCategoryAssignment);
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

            catch (System.Exception ex)
            {
                FileLog objFileLog = FileLog.GetLogger();
                objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLSubCategoryAssignment.cs", "CheckSuperAdmin1", ex.StackTrace);
                throw new V2Exceptions(ex.ToString(), ex);
            }
        }
예제 #7
0
        public string getEmployeeEmailID(clsSubCategoryAssignment objClsSubCategoryAssignment)
        {
            try
            {
                clsDLSubCategoryAssignment objClsDLSubCategoryAssignment = new clsDLSubCategoryAssignment();
                return(objClsDLSubCategoryAssignment.getEmployeeEmailID(objClsSubCategoryAssignment));
            }
            catch (V2Exceptions ex)
            {
                throw;
            }

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