public DataSet GetCategoryEmployeeNames(clsCategory objClsCategory) { try { clsDLCategory objclsDLCategory = new clsDLCategory(); return(objclsDLCategory.GetCategoryEmployeeNames(objClsCategory)); } catch (V2Exceptions ex) { throw; } catch (System.Exception ex) { FileLog objFileLog = FileLog.GetLogger(); objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLCategory.cs", "GetCategoryEmployeeNames", ex.StackTrace); throw new V2Exceptions(); } }
public int DoesExist(clsCategory objClsCategory) { try { clsDLCategory objClsDLCategory = new clsDLCategory(); return(objClsDLCategory.DoesExist(objClsCategory)); } catch (V2Exceptions ex) { throw; } catch (System.Exception ex) { FileLog objFileLog = FileLog.GetLogger(); objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLCategory.cs", "DoesExist", ex.StackTrace); throw new V2Exceptions(); } }
public DataSet getCategories() { try { clsDLCategory objclsDLCategory = new clsDLCategory(); return(objclsDLCategory.getCategories()); } catch (V2Exceptions ex) { throw; } catch (System.Exception ex) { FileLog objFileLog = FileLog.GetLogger(); objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLCategory.cs", "getCategories", ex.StackTrace); throw new V2Exceptions(ex.ToString(), ex); } }
public int updateCategories(clsCategory objClsCategories) { try { clsDLCategory objclsDLCategories = new clsDLCategory(); return(objclsDLCategories.upDateCategories(objClsCategories)); } catch (V2Exceptions ex) { throw; } catch (System.Exception ex) { FileLog objFileLog = FileLog.GetLogger(); objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLCategory.cs", "updateCategories", ex.StackTrace); throw new V2Exceptions(); } }
public int InsertCategory(clsCategory objClsCategory) { try { clsDLCategory objClsDLCategory = new clsDLCategory(); return(objClsDLCategory.InsertCategory(objClsCategory)); } catch (V2Exceptions ex) { throw; } catch (System.Exception ex) { FileLog objFileLog = FileLog.GetLogger(); objFileLog.WriteLine(LogType.Error, ex.Message, "clsBLCategory.cs", "InsertCategory", ex.StackTrace); throw new V2Exceptions(ex.ToString(), ex); } }