update
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace CMSMicroservice.Domain.Events;
|
||||
public class CreateNewCategoryEvent : BaseEvent
|
||||
{
|
||||
public CreateNewCategoryEvent(Category item)
|
||||
{
|
||||
Item = item;
|
||||
}
|
||||
|
||||
public Category Item { get; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace CMSMicroservice.Domain.Events;
|
||||
public class DeleteCategoryEvent : BaseEvent
|
||||
{
|
||||
public DeleteCategoryEvent(Category item)
|
||||
{
|
||||
Item = item;
|
||||
}
|
||||
|
||||
public Category Item { get; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace CMSMicroservice.Domain.Events;
|
||||
public class UpdateCategoryEvent : BaseEvent
|
||||
{
|
||||
public UpdateCategoryEvent(Category item)
|
||||
{
|
||||
Item = item;
|
||||
}
|
||||
|
||||
public Category Item { get; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user