refactoring
This commit is contained in:
parent
0e8b8d16e0
commit
32733e73ed
@ -1,5 +1,5 @@
|
||||
@page
|
||||
@model GanjooRazor.Pages.randomModel
|
||||
@model GanjooRazor.Pages.RandomModel
|
||||
@{
|
||||
Layout = null;
|
||||
ViewData["Title"] = "بیت تصادفی";
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user