public void Register(object s) { UserCatalog UserCatalog = new UserCatalog(); UserCatalog.GetData(User); UserCatalog.Post(); Type type = typeof(LoginView); FrameNavigation.ActivateFrameNavigation(type); }