refactoring

This commit is contained in:
Hamid Reza Mohammadi 2026-07-16 16:45:01 +03:30
parent 0e8b8d16e0
commit 32733e73ed
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
@page
@model GanjooRazor.Pages.randomModel
@model GanjooRazor.Pages.RandomModel
@{
Layout = null;
ViewData["Title"] = "بیت تصادفی";

View File

@ -3,7 +3,7 @@ using Microsoft.Extensions.Configuration;
namespace GanjooRazor.Pages
{
public class randomModel : PageModel
public class RandomModel : PageModel
{
/// <summary>
/// configration file reader (appsettings.json)
@ -14,7 +14,7 @@ namespace GanjooRazor.Pages
/// constructor
/// </summary>
/// <param name="configuration"></param>
public randomModel(IConfiguration configuration)
public RandomModel(IConfiguration configuration)
{
_configuration = configuration;
}