comparison of usage stats of a selected word among all poets #471
This commit is contained in:
parent
cdd9298b04
commit
bc6e094983
@ -493,7 +493,7 @@ namespace GanjooRazor.Pages
|
|||||||
ViewName = "_WordCountsByPoetPartial",
|
ViewName = "_WordCountsByPoetPartial",
|
||||||
ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary())
|
ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary())
|
||||||
{
|
{
|
||||||
Model = new _WordCountsByPoetPartialModel()
|
Model = new _CategoryWordsCountByCatTablePartialModel()
|
||||||
{
|
{
|
||||||
Term = term,
|
Term = term,
|
||||||
WordStats = wordCounts,
|
WordStats = wordCounts,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@model GanjooRazor.Pages._WordCountsByPoetPartialModel
|
@model GanjooRazor.Pages._CategoryWordsCountByCatTablePartialModel
|
||||||
@using System.Globalization
|
@using System.Globalization
|
||||||
@using DNTPersianUtils.Core
|
@using DNTPersianUtils.Core
|
||||||
|
|
||||||
@ -3,7 +3,7 @@ using RMuseum.Models.Ganjoor.ViewModels;
|
|||||||
|
|
||||||
namespace GanjooRazor.Pages
|
namespace GanjooRazor.Pages
|
||||||
{
|
{
|
||||||
public class _WordCountsByPoetPartialModel : PageModel
|
public class _CategoryWordsCountByCatTablePartialModel : PageModel
|
||||||
{
|
{
|
||||||
public string Term { get; set; }
|
public string Term { get; set; }
|
||||||
public PoetOrCatWordStat[] WordStats { get; set; }
|
public PoetOrCatWordStat[] WordStats { get; set; }
|
||||||
Loading…
Reference in New Issue
Block a user