public async Task <ActionResult> Get()
        {
            var username = User.Identity.Name;
            var results  = await _repository.GetVisitsByUserNameAsync(username);

            return(Json(results));
        }
        public async Task <ActionResult> Visits(string username)
        {
            var user = await _userManager.FindByNameAsync(username);

            if (user == null)
            {
                return(RedirectToAction("Index", "Home"));
            }
            var visits = await _repository.GetVisitsByUserNameAsync(username);

            return(View(visits));
        }