-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#403) users: udpate block user command handler
- Loading branch information
1 parent
b705a82
commit a04a8ff
Showing
2 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...Space.Services.Students/src/MiniSpace.Services.Students.Application/Events/UserBlocked.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Convey.CQRS.Events; | ||
using System; | ||
|
||
namespace MiniSpace.Services.Students.Application.Events | ||
{ | ||
public class UserBlocked : IEvent | ||
{ | ||
public Guid BlockerId { get; } | ||
public Guid BlockedUserId { get; } | ||
|
||
public UserBlocked(Guid blockerId, Guid blockedUserId) | ||
{ | ||
BlockerId = blockerId; | ||
BlockedUserId = blockedUserId; | ||
} | ||
} | ||
} |