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