using Marten; namespace Brizco.Infrastructure.Marten; public class MartenRepositoryWrapper(IDocumentStore documentStore) : IMartenRepositoryWrapper { public IMartenRepository SetRepository() where TMartenEntity : IMartenEntity => new MartenRepository(documentStore); }