public IActionResult Statistica1(StatisticsViewModel view) { var sta = new StatisticsViewModel() { ArrayReader = repository.GetAllReadersByPeriodTimeAsync(view.StartDate, view.StopDate).Result }; return(View(sta)); }