Fixed transaction exception bug

transactinos that were explicitly closed, were throwing an exception, because it would be closing transaction twice
This commit is contained in:
s459315 2022-08-02 17:49:27 +02:00
parent 57b456b1e1
commit db5e820841

View File

@ -70,6 +70,8 @@ namespace RMDataManagerLibrary.DataAcccess
sql.SaveDataInTransaction("dbo.spSaleDetailInsert", item); sql.SaveDataInTransaction("dbo.spSaleDetailInsert", item);
} }
sql.CommitTransaction();
} }
catch catch
{ {