public static bool DeleteType(int ido) { bool x = myRealProvider.DeleteType(ido); BllGlobal.UpdateAllType(); return(x); }
public bool UpdateType() { bool x = Types.UpdateType(ID, Name, BusinessPrice, ClientPrice, BusinessClientPrice, AllCompanyId, this.TheUnit, BaraCode); BllGlobal.UpdateAllType(); return(x); }
public bool DeleteType() { bool x = Types.DeleteType(this.ID); BllGlobal.UpdateAllType(); return(x); }
public static bool UpdateType(int id, string name, double businessprice, double clientprice, double businessclientprice, TheUnito theUnit, string baracode) { TypeDetails tb1 = new TypeDetails(id, name, businessprice, clientprice, businessclientprice, MyDateTime.Now, "", theUnit, baracode); bool x = myRealProvider.UpdateType(tb1); BllGlobal.UpdateAllType(); return(x); }