Add FluentValidation to application services
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m45s

This commit is contained in:
2026-07-07 16:31:29 +09:00
parent 68cc97eda6
commit c54599304b
9 changed files with 110 additions and 38 deletions
+2
View File
@@ -12,6 +12,7 @@ using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.IdentityModel.Tokens;
using MudBlazor.Services;
using Serilog;
using FluentValidation;
using FastEndpoints;
using System.Threading.RateLimiting;
using TaxBaik.Application;
@@ -357,6 +358,7 @@ builder.Services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All));
builder.Services.AddInfrastructure();
builder.Services.AddApplication();
builder.Services.AddValidatorsFromAssemblyContaining<TaxBaik.Application.DTOs.CreateBlogPostDtoValidator>();
builder.Services.AddScoped<IInquiryNotificationService, TelegramInquiryNotificationService>();
builder.Services.AddScoped<TaxBaik.Web.Services.SitemapValidationService>();