private void RegisterAccount(CreateAdminAccount command) { ApplicationSetup.UpdateDatabaseToLatestSchema(); var createUserResult = Users.Handle(command); if (!createUserResult.Succeeded) { throw new Exception(string.Join("\n", createUserResult.Errors)); } }
public ActionResult UpdateSchema(bool?overload) { ApplicationSetup.UpdateDatabaseToLatestSchema(); return(RedirectToAction("Step1")); }