using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Consulenza.ReportWriter.Business;

namespace Consulenza.ReportWriter.Manager.Chapter.Unica.Nucleo
{
    /// <summary>
    /// S45.RischioCreditoVSConcentrazionePatrimonioFideuram IdCapitolo = 63
    /// </summary>
    public class S45 : Unica.S45
    {
        public S45(EnvironmentFacade environmentFacade, int idChapter)
            : base(environmentFacade, idChapter)
        {
            // TODO introdurre logica di esistenza del capitolo per report di Nucleo

            //Exist = new DataServices.PatrimonioCasa(EnvironmentFacade.ReportEnvironment.Cliente.Chiave)
            //    .GetListaProdotti()
            //    .FindAll(o => o.prodotto.alberatura.livello3.Equals("Azioni") || o.prodotto.alberatura.livello3.Equals("Obbligazioni"))
            //    .Any();
        }

        public S45(EnvironmentFacade environmentFacade, int idChapter, bool repeatoneachpage)
            : this(environmentFacade, idChapter)
        {
        }
    }
}
