public EcasWithFiles(Cas ecas)
        {
            var query = ecas.Where(eca =>
                                   (Convert.ToBoolean(eca.HasFiles)));

            list = query.ToList();
        }
        public TcasWithFiles(Cas tcas)
        {
            var query = tcas
                        .Where(tca =>
                               (Convert.ToBoolean(tca.HasFiles)));

            list = query.ToList();
        }
        public EcasBeforeDate(Cas ecas, DateTime date)
        {
            var query = ecas
                        .Select(eca => new { Self = eca, Date = eca.Modified.ToDateTime() })
                        .Where(o => o.Date >= date)
                        .Select(o => o.Self);

            this.list = query.ToList();
        }
 public Tcas(Cas ecas)
 {
     list = new KudanTcaClient(
         new TcaClient(
             new McaClient(
                 ecas
                 )
             )
         )
            .CreateItems()
            .ToList();
 }