public static PermissionValidationResponse InvalidFromResourceValidation(
     PermissionTicketRequest ticketRequest,
     ValidationResult <CRN, ResourceAction, CPN> result) =>
 new PermissionValidationResponse()
 {
     TicketRequest = ticketRequest,
     Reason        = result.Reason
 };
 public static PermissionValidationResponse From(
     PermissionTicketRequest ticketRequest,
     IEnumerable <CRN> allowed = null,
     IEnumerable <CRN> denied  = null) => new PermissionValidationResponse()
 {
     TicketRequest    = ticketRequest,
     AllowedResources = allowed?.ToList() ?? new List <CRN>(),
     DeniedResources  = denied?.ToList() ?? new List <CRN>()
 };