Example #1
0
 public List<T_Suppliers> getSupplierList(string spno, string spname)
 {
     sh = new SupplierHelper();
     return sh.getSupplierList(spno, spname);
 }
Example #2
0
 public List<T_Base_suppliertype> getSuptypeLst()
 {
     try
     {
         sh = new SupplierHelper();
         return sh.getSuptypLst();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #3
0
 public T_Suppliers getSupplierbyId(int sid)
 {
     try
     {
         sh = new SupplierHelper();
         return sh.getSupplierbyId(sid);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #4
0
 public List<T_Suppliers_contacts> getSupplierContacts(int supplierid)
 {
     try
     {
         sh = new SupplierHelper();
         return sh.getSupplierContacts(supplierid);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #5
0
 public List<T_Suppliers> getAllSupplier()
 {
     try
     {
         sh = new SupplierHelper();
         return sh.getSupplierList();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #6
0
 public void EditSupplierContacts(T_Suppliers_contacts contact)
 {
     try
     {
         sh = new SupplierHelper();
         sh.UpdateSupplierContacts(contact);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #7
0
 public void EditSupplier(T_Suppliers supplier)
 {
     try
     {
         sh = new SupplierHelper();
         sh.updateSupplier(supplier);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #8
0
 public void DeleteSupplier(T_Suppliers supplier)
 {
     try
     {
         sh = new SupplierHelper();
         sh.delSupplier(supplier);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #9
0
 public void addNewSupplier(T_Suppliers newsupplier)
 {
     try
     {
         sh = new SupplierHelper();
         sh.addNewSupplier(newsupplier);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }