using Modules.Library.Domain.Gateways; using Modules.Library.Database.Database; using Modules.Library.Domain.Entities.Genre; using MongoDB.Driver; namespace Modules.Library.Database.Repositories; public class GenreRepository(MongoDbContext context) : RepositoryBase(context), IGenreGateway { protected override IMongoCollection GetCollections(MongoDbContext context) => context.Genres; /* protected override async Task SoftDeleteAsync(Genre entity) { //entity.Delete(); return await UpdateAsync(entity); } */ }