DtoArray

The DtoArray is an array that ...

Code example

public BooleanMethodCall ContinueOrNot(EnumArray<InvoiceTypes> invoiceTypes)
{
   return BooleanMethod(() => new Body
   {
       new If(SelectedInvoices.Any(p => 
           (invoiceTypes.Length.IsEqualTo(0))))
       {
         new Return(false)
       },

       new Return(true)
   }, invoiceTypes);
}