public async Task <IActionResult> CurrentStatsAsync()
        {
            var userName  = HttpContext.User.Identity.Name;
            var userMiner = await userService.GetUsersMiner(userName);

            DateTime now = DateTime.Now;
            DataDTO  dataDTO;


            ViewBag.userMiner   = userMiner;
            ViewBag.currentTime = now;

            CurrentStatsViewModel stats = null;

            try
            {
                dataDTO = await minerService.GetCurrentStats(userMiner);
            }
            catch (BusinessLogicException ex)
            {
                return(RedirectToAction("Error", new { message = ex.Message }));
            }

            stats = Mapper.Map <DataDTO, CurrentStatsViewModel>(dataDTO);

            return(PartialView(stats));
        }