public IActionResult Index() { //if(!HttpContext.User.Identity.IsAuthenticated) //{ // return RedirectToAction("Login", "Account", // new { returnUrl = this.HttpContext.Request.Path }); //} var transactions = renterLeaserTransactionService.GetTransactions(); return(View(transactions)); }