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