// GET: Statistics/Index
 public ActionResult Index()
 {
     return(User.Identity.IsAuthenticated ?
            (ActionResult)View(_statisticsRepository.GetAll()) : RedirectToAction("Login", "Account"));
 }