public static TrimFilter FromParameters(TrimParameters parameters)
 {
     return new TrimFilter
     {
         TrimId = parameters.TrimId,
         Action = parameters.Action
     };
 }
 public static FdpTrim FromParameters(Parameters.TrimParameters parameters)
 {
     return(new FdpTrim()
     {
         FdpTrimId = parameters.TrimId,
         ProgrammeId = parameters.ProgrammeId.GetValueOrDefault(),
         Gateway = parameters.Gateway
     });
 }