using Marten; using Netina.Repository.Abstracts; namespace Netina.Infrastructure.Marten; public class MartenRepositoryWrapper(IDocumentStore documentStore,ICurrentUserService currentUserService) : IMartenRepositoryWrapper { public IMartenRepository SetRepository() where TMartenEntity : IMartenEntity => new MartenRepository(documentStore, currentUserService); }