mirror of
https://github.com/farcasclaudiu/PracticeCalendar.git
synced 2026-06-22 09:01:18 +03:00
refactoring and integration tests
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using PracticeCalendar.Domain.Common;
|
||||
using PracticeCalendar.Domain.Entities;
|
||||
|
||||
namespace PracticeCalendar.Domain.Events
|
||||
{
|
||||
public sealed class AttendeeAcceptedEvent : DomainEventBase
|
||||
{
|
||||
public AttendeeAcceptedEvent(PracticeEvent practiceEvent, Attendee attendee)
|
||||
{
|
||||
PracticeEvent = practiceEvent;
|
||||
Attendee = attendee;
|
||||
}
|
||||
|
||||
public PracticeEvent PracticeEvent { get; }
|
||||
public Attendee Attendee { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using PracticeCalendar.Domain.Common;
|
||||
using PracticeCalendar.Domain.Entities;
|
||||
|
||||
namespace PracticeCalendar.Domain.Events
|
||||
{
|
||||
public sealed class AttendeeDeclinedEvent : DomainEventBase
|
||||
{
|
||||
public AttendeeDeclinedEvent(PracticeEvent practiceEvent, Attendee attendee)
|
||||
{
|
||||
PracticeEvent = practiceEvent;
|
||||
Attendee = attendee;
|
||||
}
|
||||
|
||||
public PracticeEvent PracticeEvent { get; }
|
||||
public Attendee Attendee { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using PracticeCalendar.Domain.Common;
|
||||
using PracticeCalendar.Domain.Entities;
|
||||
|
||||
namespace PracticeCalendar.Domain.Events
|
||||
{
|
||||
public sealed class EventUpdateTitleAndDescriptionEvent : DomainEventBase
|
||||
{
|
||||
public EventUpdateTitleAndDescriptionEvent(PracticeEvent practiceEvent)
|
||||
{
|
||||
PracticeEvent = practiceEvent;
|
||||
}
|
||||
|
||||
public PracticeEvent PracticeEvent { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user