public DataTable PopulateProduct_bal() { try { impagencydal = new impagency_dal(); return(impagencydal.PopulateProduct_dal()); } catch (Exception Ex) { ErrMessage = Ex.Message; return(null); } }
public DataTable ImpAgencySearch(impagency_prop impagencyprop) { try { impagencydal = new impagency_dal(); DataTable dt = impagencydal.ImpAgencySearch(impagencyprop); return(dt); } catch (Exception e) { ErrMessage = e.Message; return(null); } }
public string ImpAgencyPChildInsert_bal(int product, int num, int maxid) { try { impagencydal = new impagency_dal(); string strMsg = impagencydal.ImpAgencyPChildInsert(product, num, maxid); return(strMsg); } catch (Exception e) { ErrMessage = e.Message; return(""); } }
public string ImpAgencyDelete(impagency_prop impagencyprop) { try { impagencydal = new impagency_dal(); string strMsg = impagencydal.ImpAgencyDelete(impagencyprop); return(strMsg); } catch (Exception e) { ErrMessage = e.Message; return(""); } }
public DataTable PopulateProductChild_dal(int id) { try { impagencydal = new impagency_dal(); DataTable dt = impagencydal.PopulateProductChild_dal(id); return(dt); } catch (Exception e) { ErrMessage = e.Message; return(null); } }