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
+3 -9
View File
@@ -7,16 +7,10 @@ using Core.Routers;
namespace Core.Controllers;
[Injectable]
public class WishlistController
public class WishlistController(
EventOutputHolder _eventOutputHolder
)
{
protected EventOutputHolder _eventOutputHolder;
public WishlistController(
EventOutputHolder eventOutputHolder)
{
_eventOutputHolder = eventOutputHolder;
}
/// <summary>
/// Handle AddToWishList
/// </summary>