chore: (WIP) group controllers, slightly annotate code

This commit is contained in:
2025-07-15 13:24:39 +02:00
parent dee143dbc8
commit a355c668bd
8 changed files with 175 additions and 174 deletions

View File

@@ -1,4 +1,4 @@
// using Microsoft.AspNetCore.Identity;
// using Microsoft.AspNetCore.Identity;
// using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
@@ -17,6 +17,7 @@ namespace QuotifyBE.Data
public DbSet<Quote> Quotes => Set<Quote>();
public DbSet<Category> Categories => Set<Category>();
public DbSet<Image> Images => Set<Image>();
public DbSet<QuoteCategory> QuoteCategories => Set<QuoteCategory>();
protected override void OnModelCreating(ModelBuilder builder)
{
@@ -26,4 +27,4 @@ namespace QuotifyBE.Data
.HasKey(vs => new { vs.QuoteId, vs.CategoryId });
}
}
}
}