public void Remove(TAggregateRoot aggregateRoot) { mongoDBRepositoryContext.RegisterDeleted(aggregateRoot); }
/// <summary> /// Removes the aggregate root from current repository. /// </summary> /// <param name="entity">The aggregate root to be removed.</param> protected override void DoRemove(TAggregateRoot entity) { mongoDBRepositoryContext.RegisterDeleted(entity); }