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(); } }
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(); } }
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(); } }
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(); } }
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); } }
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); } }
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); } }