public bool DeleteClientDeal()
 {
     return(SalesReturns.DeleteClientDeal(this.ID));
 }
 public SalesReturns GetClientDealByID()
 {
     return(SalesReturns.GetClientDealByID(this.ID));
 }
 internal static object Search(int id, bool iscompany)
 {
     return(SalesReturns.GetClientDealFromClientDealDetails(myRealProvider.SearchSalesReturns(id, iscompany)));
 }
 public static List <SalesReturns> Search(string key)
 {
     return(SalesReturns.GetClientDealFromClientDealDetails(myRealProvider.SearchSalesReturns(key)));
 }
 public bool UpdateBusinesDeal()
 {
     return(SalesReturns.UpdateClientDeal(ID, TypeId, ClientId, Amount, Price, PaidMoney, Details, BusinessPrice, ClientName, TypeName));
 }
 public int InsertClientDeal(bool WithUpdatestore)
 {
     return(SalesReturns.InsertClientDeal(ID, TypeId, ClientId, Amount, Price, PaidMoney, Details, TheUnit, BusinessPrice, ClientName, TypeName, WithUpdatestore));
 }