public int Recover(Supplier supplier) { return(supplierDAL.Recover(supplier.ID, supplier.Name, supplier.PhoneNumber, supplier.Address)); }
public int Delete(Supplier supplier) { return(supplierDAL.Delete(supplier.ID)); }
public int Add(Supplier supplier) { return(supplierDAL.Add(supplier.Name, supplier.PhoneNumber, supplier.Address)); }
public int Update(Supplier supplier) { return(supplierDAL.Update(supplier.ID, supplier.Name, supplier.PhoneNumber, supplier.Address)); }
public DataTable GetByName(Supplier supplier) { return(supplierDAL.GetByName(supplier.Name)); }