change to prim Ctors

This commit is contained in:
CWX
2025-01-18 19:17:35 +00:00
parent 41d2bfa1d9
commit 5c5a42b535
25 changed files with 551 additions and 973 deletions
+4 -12
View File
@@ -5,19 +5,11 @@ using Core.Models.Eft.Notifier;
namespace Core.Controllers;
[Injectable]
public class NotifierController
public class NotifierController(
HttpServerHelper _httpServerHelper,
NotifierHelper _notifierHelper
)
{
protected HttpServerHelper _httpServerHelper;
protected NotifierHelper _notifierHelper;
public NotifierController(
HttpServerHelper httpServerHelper,
NotifierHelper notifierHelper)
{
_httpServerHelper = httpServerHelper;
_notifierHelper = notifierHelper;
}
/// <summary>
/// Resolve an array of session notifications.
///