Пример #1
0
        public async Task <IActionResult> Index()
        {
            ViewBag.TotalLawyersCount = await _lawyerService.TotalLawyersCount();

            ViewBag.OnlineLawyersCount = await _lawyerService.OnlineLawyersCount();

            ViewBag.OfflineLawyersCount = await _lawyerService.OfflineLawyersCount();

            return(View());
        }