public static int InsertClientDeal(int id, int typeid, int clid, double amount, double price, double paidmoney, string details, TheUnito theUnit, double busprice, string clname, string typename, bool opencon) { ClientDealDetails tb1 = new ClientDealDetails(id, typeid, clid, amount, price, paidmoney, details, new MyDateTime(DateTime.Now), theUnit, busprice, clname, typename); return(myRealProvider.InsertClientDeal(tb1, opencon)); }