docs: #339 moving GanjoorPage field to LoginPartialEnabledPageModel

This commit is contained in:
Hamid Reza Mohammadi 2022-07-03 20:28:54 +04:30
parent 4a3396b1a7
commit 3a2eef1c32
2 changed files with 7 additions and 5 deletions

View File

@ -254,16 +254,12 @@ namespace GanjooRazor.Pages
/// is home page
/// </summary>
public bool IsHomePage { get; set; }
/// <summary>
/// Poets
/// </summary>
public List<GanjoorPoetViewModel> Poets { get; set; }
/// <summary>
/// Corresponding Ganojoor Page
/// </summary>
public GanjoorPageCompleteViewModel GanjoorPage { get; set; }
/// <summary>
/// is poet page
/// </summary>

View File

@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Mvc.RazorPages;
using Newtonsoft.Json;
using RMuseum.Models.Auth.Memory;
using RMuseum.Models.Auth.ViewModel;
using RMuseum.Models.Ganjoor.ViewModels;
using RSecurityBackend.Models.Auth.Memory;
using RSecurityBackend.Models.Auth.ViewModels;
using System;
@ -26,6 +27,11 @@ namespace GanjooRazor.Pages
[BindProperty]
public LoginViewModel LoginViewModel { get; set; }
/// <summary>
/// Corresponding Ganjoor Page
/// </summary>
public GanjoorPageCompleteViewModel GanjoorPage { get; set; }
/// <summary>
/// logout
/// </summary>