From c5683df4b63ca69ea11aa3a041bdb7a5790dda71 Mon Sep 17 00:00:00 2001 From: Aaron Po Date: Thu, 19 Feb 2026 22:04:30 -0500 Subject: [PATCH] add IEmailService to the DI container (#154) --- src/Core/API/API.Core/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core/API/API.Core/Program.cs b/src/Core/API/API.Core/Program.cs index 604ba4d..ca0b67d 100644 --- a/src/Core/API/API.Core/Program.cs +++ b/src/Core/API/API.Core/Program.cs @@ -15,6 +15,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Service.Auth; using Service.UserManagement.User; +using Service.Emails; var builder = WebApplication.CreateBuilder(args); @@ -62,6 +63,7 @@ builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); +builder.Services.AddScoped(); // Register the exception filter builder.Services.AddScoped();