public async Task <IActionResult> Register() { var order = orderRepository.GetOrder(); if (order == null) { return(RedirectToAction("Carousel")); } var user = await userManager.GetUserAsync(this.User); //Catch the last register with the same email user var register = registerRepository.CatchRegister(user.Email); return(View(register)); }