public List<LINKPayment> BALGetFinalCreditorSupplierList() { List<LINKPayment> listobj = new List<LINKPayment>(); DataTable dt = new DataTable(); try { DALPayment objDALPayment = new DALPayment(); dt = objDALPayment.DALGetFinalCreditorSupplierList(); for (int i = 0; i < dt.Rows.Count; i++) { listobj.Add(ConvertToObjectSupplier(dt.Rows[i])); } } catch (Exception ex) { } return listobj; }
public bool BALUpdateMaterial(LINKPayment objPayment) { DALPayment objDALPayment = new DALPayment(); return objDALPayment.DALUpdateMaterial(objPayment); }
public List<LINKPayment> BALGetGRNMaterial(LINKPayment objPayment) { List<LINKPayment> listobj = new List<LINKPayment>(); DataTable dt = new DataTable(); try { DALPayment objDALPayment = new DALPayment(); dt = objDALPayment.DALGetGRNMaterial(objPayment); for (int i = 0; i < dt.Rows.Count; i++) { listobj.Add(ConvertToObjectGRNMaterial(dt.Rows[i])); } } catch (Exception ex) { } return listobj; }