public static bool DeleteStore(int ido) { bool x = myRealProvider.DeleteStore(ido); BllGlobal.UpdateAllStore(); return(x); }
public static int InsertStoreFromCompany(int typeid, double amount, DateTime addedDatecompany, string typename, bool decrment) { StoreDetails tb1 = new StoreDetails(0, typeid, amount, addedDatecompany, addedDatecompany, typename); int x = myRealProvider.InsertStoreFromCompany(tb1, decrment); BllGlobal.UpdateAllStore(); return(x); }
internal static void SaleNow(double myprice) { //MessageBox.Show("price param "+myprice.ToString()); bool x = false; x = !(all[0].ClientId == Globals.Globals.UnknownClient); ///عملية الادخال SalePointDal.InsertClientDeal(all, x, Price - myprice); EMpty(); BllGlobal.UpdateAllStore(); BllGlobal.UpdateAllClients(); }