Exemple #1
0
        public IActionResult Activate(long id, string activationCode)
        {
            User user = UserDB.ActivateUser(id, activationCode, GetConfiguration().GetConnectionString(DEFAULT_CONNECTION));

            return(View(new LoginModel {
                User = user
            }));
        }