use prim ctor and fixed warnings: NoteCallbacks, NotifierCallbacks

This commit is contained in:
CWX
2025-01-18 13:39:14 +00:00
parent 42e964c60b
commit d19e736408
2 changed files with 9 additions and 39 deletions
+1 -10
View File
@@ -7,17 +7,8 @@ using Core.Models.Eft.Notes;
namespace Core.Callbacks;
[Injectable]
public class NoteCallbacks
public class NoteCallbacks(NoteController _noteController)
{
protected NoteController _noteController;
public NoteCallbacks
(
NoteController noteController
)
{
_noteController = noteController;
}
/// <summary>
/// Handle AddNote event