Example #1
0
        public IActionResult Register(string returnUrl = null)
        {
            var model = new RegisterViewModel();

            model.CanRegisterNewUsers = registerService.CanRegisterNewUsers();

            ViewData["ReturnUrl"] = returnUrl;

            return(View("ManagerPanel"));
        }