CreateANewTicket(TicketCreationDetails details) { if (details == null) { throw new ArgumentNullException(nameof(details)); } this.details = details; }
public static IPerformable WithTheDetails(TicketCreationDetails model) { return(new CreateANewTicket(model)); }