Exemplo n.º 1
0
        public void WriteYieldsToCSV(List <Yield> yields, string filePath)
        {
            foreach (var yield in yields)
            {
                yield.ExpectedYield = Math.Round(yield.ExpectedYield);
            }

            ICSVWrapper <Yield> csvHelper = new CSVWrapper <Yield>();

            csvHelper.WriteToCSV(yields, filePath);
        }
Exemplo n.º 2
0
        public void WriteAssignmentsToCSV(List <Assignment> assignments, string filePath)
        {
            ICSVWrapper <Assignment> csvHelper = new CSVWrapper <Assignment>();

            csvHelper.WriteToCSV(assignments, filePath);
        }