예제 #1
0
        public ActionResult Index()
        {
            var datasModel = new DatasModel();

            datasModel.SumOfValues = Repositories.Files.CalculateSumOfAllValues();
            datasModel.SumOfYear   = new SumAndYearModel(Repositories.FileLines.CalculateSumByDate());
            datasModel.SumOfOrigin = new SumAndOriginModel(Repositories.FileLines.CalculateSumByOrigin());
            return(View(datasModel));
        }
예제 #2
0