/// <inheritdoc cref="IUnitOfWork"/> public void Commit() { try { _sessionManager.CommitAll(); _commited = true; } catch (Exception ex) { Logger.LogErrorFormat(ex, "UoW Error begin rollback"); _commited = false; } }