public DataSet GetSubCategory(int category) { DataSet dsGetSubCategory = new DataSet(); clsDLSubCategory objClsDLSubCategory = new clsDLSubCategory(); dsGetSubCategory = objClsDLSubCategory.GetSubCategory(category); return(dsGetSubCategory); }
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(); } }
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(); } }
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(); } }
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(); } }
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); } }