public IViewComponentResult Invoke() { var count = _taskData.GetCountOfTasks(); return(View(count)); }