Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Dec 11, 2024
1 parent 394e3d5 commit d0cf3e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 36 deletions.
22 changes: 4 additions & 18 deletions Sample/Pages/Index.cshtml.cs
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Sample.Pages
namespace Sample.Pages;

public class IndexModel : PageModel
{
public class IndexModel : PageModel
public void OnGet()
{
private readonly ILogger<IndexModel> _logger;

public IndexModel(ILogger<IndexModel> logger)
{
_logger = logger;
}

public void OnGet()
{

}
}
}
22 changes: 4 additions & 18 deletions Sample/Pages/Privacy.cshtml.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Sample.Pages
namespace Sample.Pages;

public class PrivacyModel : PageModel
{
public class PrivacyModel : PageModel
public void OnGet()
{
private readonly ILogger<PrivacyModel> _logger;

public PrivacyModel(ILogger<PrivacyModel> logger)
{
_logger = logger;
}

public void OnGet()
{
}
}
}

0 comments on commit d0cf3e5

Please sign in to comment.