public void Update(TAggregateRoot aggregateRoot) { mongoDBRepositoryContext.RegisterModified(aggregateRoot); }
/// <summary> /// Updates the aggregate root in the current repository. /// </summary> /// <param name="aggregateRoot">The aggregate root to be updated.</param> protected override void DoUpdate(TAggregateRoot entity) { mongoDBRepositoryContext.RegisterModified(entity); }