Sealed qualifying public classes Migrated database changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace LiteCharms.Features.MidrandBooks.Pages.Entities;
|
||||
|
||||
public class BookPageConfiguration : IEntityTypeConfiguration<BookPage>
|
||||
public sealed class BookPageConfiguration : IEntityTypeConfiguration<BookPage>
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<BookPage> builder)
|
||||
{
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace LiteCharms.Features.MidrandBooks.Pages.Models;
|
||||
|
||||
public class UpdateBookPage : CreateBookPage;
|
||||
public sealed class UpdateBookPage : CreateBookPage;
|
||||
|
||||
@@ -5,7 +5,7 @@ using LiteCharms.Features.MidrandBooks.Postgres;
|
||||
|
||||
namespace LiteCharms.Features.MidrandBooks.Pages;
|
||||
|
||||
public class PageService(IDbContextFactory<MidrandBooksDbContext> contextFactory) : IService
|
||||
public sealed class PageService(IDbContextFactory<MidrandBooksDbContext> contextFactory) : IService
|
||||
{
|
||||
public async ValueTask<Result> DeleteAllAsync(long authorBookId, CancellationToken cancellationToken = default)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user