public void WriteCookie(HttpResponse response, string userId, string employerAccountId)
        {
            var protectedValue = _dataProtector.Protect($"{userId}-{employerAccountId}");

            response.Cookies.Append(CookieNames.LevyEmployerIndicator, protectedValue, EsfaCookieOptions.GetDefaultHttpCookieOption(_hostingEnvironment));
        }
        public void WriteCookie(HttpResponse response, string userId, string employerAccountId, string employerAccountType)
        {
            var protectedValue = _dataProtector.Protect(userId + '/' + employerAccountId + '/' + employerAccountType);

            response.Cookies.Append(CookieNames.EmployerAccountType, protectedValue, EsfaCookieOptions.GetDefaultHttpCookieOption(_hostingEnvironment));
        }
        public void WriteCookie(HttpResponse response, string userId, string employerAccountId, bool hasLevyDeclaration)
        {
            var protectedValue = _dataProtector.Protect(userId + "/" + employerAccountId + "/" + hasLevyDeclaration);

            response.Cookies.Append(CookieNames.LevyEmployerIndicator, protectedValue, EsfaCookieOptions.GetDefaultHttpCookieOption(_hostingEnvironment));
        }