示例#1
0
 public ActionResult PhraseDomains(int id)
 {
     LogAction(SpywordsActions.ContextPhrasePhraseDomains, id);
     var phraseProvider = new PhraseProvider();
     var phraseDomains = phraseProvider.GetDomainsStatsForAccountPhrase(CurrentUser.AccountID, id, SourceType.Context);
     var phrase = phraseProvider.GetPhraseEntityModel(CurrentUser.AccountID, id, SourceType.Context);
     return View(new DomainStatsModel(GetBaseModel(), phraseDomains, phrase));
 }
示例#2
0
 public ActionResult ExportPhraseDomains(int id)
 {
     LogAction(SpywordsActions.ContextPhrasePhraseDomains, id);
     var phraseProvider = new PhraseProvider();
     var phraseDomains = phraseProvider.GetDomainsStatsForAccountPhrase(CurrentUser.AccountID, id, SourceType.Context);
     var phrase = phraseProvider.GetPhraseEntityModel(CurrentUser.AccountID, id, SourceType.Context);
     return SearchPhraseController.BuildExportCsv(phraseDomains, phrase.Text);
 }