public IEnumerable <T> List <T>() { using (var csv = new CsvReader(_fileAdapter.OpenText())) { csv.Configuration.RegisterClassMap <M>(); return(csv.GetRecords <T>().ToList()); } }