|
|
|
@ -13,6 +13,7 @@ namespace StateJobsNYSubmit.Pages
@@ -13,6 +13,7 @@ namespace StateJobsNYSubmit.Pages
|
|
|
|
|
{ |
|
|
|
|
private readonly ILogger<IndexModel> _logger; |
|
|
|
|
private PrivateData p = new PrivateData(); |
|
|
|
|
public UserData userData; |
|
|
|
|
public IndexModel(ILogger<IndexModel> logger) |
|
|
|
|
{ |
|
|
|
|
_logger = logger; |
|
|
|
@ -20,7 +21,8 @@ namespace StateJobsNYSubmit.Pages
@@ -20,7 +21,8 @@ namespace StateJobsNYSubmit.Pages
|
|
|
|
|
|
|
|
|
|
public void OnGet() |
|
|
|
|
{ |
|
|
|
|
UserData userData = new UserData(); |
|
|
|
|
userData = new UserData(); |
|
|
|
|
userData.skillOptions = new List<string>(); |
|
|
|
|
userData.visitCounter = 1; |
|
|
|
|
string cookieValue = Request.Cookies["PrivateData"]; |
|
|
|
|
if (cookieValue != null) { |
|
|
|
|