public async Task <ActionResult> Index() { if (RubberduckAssets.ShouldInvalidate) { await RubberduckAssets.InvalidateAsync(); } var model = await BuildHomePageModelAsync(); return(View(model)); }
public async Task <ActionResult> List() { if (RubberduckAssets.ShouldInvalidate) { await RubberduckAssets.InvalidateAsync(); } var ignoreModuleExample = @"Option Explicit '@IgnoreModule: inspections will ignore this module"; return(View(new InspectionsModel(RubberduckAssets.Inspections.Values.Where(e => !e.IsHidden), ignoreModuleExample))); }