public Task <bool> Commit() { try { return(_networkModel.Commit()); } catch (Exception e) { throw new Exception(e.Message); } }
public override async Task Commit() { try { networkModel.Commit(false); Logger.LogInfo("Commit on NMS Transaction actor SUCCESSFULLY finished."); } catch (Exception ex) { Logger.LogError($"Exception caught in Commit method on NMS Transaction actor. Exception: {ex.Message}", ex); Logger.LogInfo("Commit on NMS Transaction actor UNSUCCESSFULLY finished."); } }