Creating events.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
using Wino.Core.Domain.Entities.Calendar;
|
||||
using Wino.Core.Domain.Enums;
|
||||
|
||||
namespace Wino.Core.Domain.Models.Calendar;
|
||||
|
||||
/// <summary>
|
||||
/// Encapsulates the options for preparing calendar operation requests.
|
||||
/// </summary>
|
||||
/// <param name="Operation">Calendar operation to execute (Create, Update, Delete).</param>
|
||||
/// <param name="CalendarItem">Calendar item to operate on.</param>
|
||||
/// <param name="Attendees">List of attendees for the calendar event.</param>
|
||||
public record CalendarOperationPreparationRequest(CalendarSynchronizerOperation Operation, CalendarItem CalendarItem, List<CalendarEventAttendee> Attendees);
|
||||
//{
|
||||
// public CalendarOperationPreparationRequest(CalendarItem calendarItem)
|
||||
// : this(calendarItem ?? throw new ArgumentNullException(nameof(calendarItem)), null)
|
||||
// {
|
||||
// }
|
||||
//}
|
||||
Reference in New Issue
Block a user