public void AccessRegistration(string login, string email, string hash_password, int typeId)
        {
            DataBaseUser dataBaseUser = new DataBaseUser();

            dataBaseUser.Insert(new User(login, email, hash_password, typeId));
            RegistrationData registrationData = new RegistrationData();

            registrationData.Delete(login);
        }