public static List <POCO.record> GetDoubles(int dossierId, int importRecordTmpId)
        {
            var list = new List <POCO.record>();

            PersonalFinancesDBEntities db  = new PersonalFinancesDBEntities();
            importRecordTmp            irt = db.importRecordTmps.Find(importRecordTmpId);


            list = (from rec in db.sp_getListDuplicates(irt.dossierId,
                                                        irt.revenue,
                                                        irt.expense,
                                                        irt.date,
                                                        irt.description,
                                                        irt.comment)
                    select new POCO.record
            {
                dossierId = rec.dossierId,
                description = rec.description,
                comment = rec.comment,
                date = rec.date,
                revenue = rec.revenue,
                expense = rec.expense,
                CategoryDescription = rec.category,
                SubcategoryDescription = rec.subcategory
            }).ToList();


            return(list);
        }