comparison of usage stats of a selected word among all poets #471

This commit is contained in:
Hamid Reza Mohammadi 2025-03-09 13:45:38 +03:30
parent cdd9298b04
commit bc6e094983
3 changed files with 3 additions and 3 deletions

View File

@ -493,7 +493,7 @@ namespace GanjooRazor.Pages
ViewName = "_WordCountsByPoetPartial",
ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary())
{
Model = new _WordCountsByPoetPartialModel()
Model = new _CategoryWordsCountByCatTablePartialModel()
{
Term = term,
WordStats = wordCounts,

View File

@ -1,4 +1,4 @@
@model GanjooRazor.Pages._WordCountsByPoetPartialModel
@model GanjooRazor.Pages._CategoryWordsCountByCatTablePartialModel
@using System.Globalization
@using DNTPersianUtils.Core

View File

@ -3,7 +3,7 @@ using RMuseum.Models.Ganjoor.ViewModels;
namespace GanjooRazor.Pages
{
public class _WordCountsByPoetPartialModel : PageModel
public class _CategoryWordsCountByCatTablePartialModel : PageModel
{
public string Term { get; set; }
public PoetOrCatWordStat[] WordStats { get; set; }