Exemplo n.º 1
0
        public async Task <int> FillMVPPhotos(string csv)
        {
            MVP hz = new MVP();

            using (var reader = new CsvHelper.CsvReader(new StringReader(csv)))
            {
                var mvps = reader.EnumerateRecords <MVP>(hz);
                return(await FillMVPPhotos(mvps));
            }
        }