2025 SALARY SURVEY

Error in loading content block `blockList/Components/candidateSearchSection.cshtml`

System.InvalidOperationException: A view component named 'CandidateSearchForm' could not be found. A view component must be a public non-abstract class, not contain any generic parameters, and either be decorated with 'ViewComponentAttribute' or have a class name ending with the 'ViewComponent' suffix. A view component must not be decorated with 'NonViewComponentAttribute'.
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeAsync(String name, Object arguments)
   at AspNetCore.Views_Partials_blockList_Components_candidateSearchSection.ExecuteAsync() in C:\Server Files\Websites\haylopeople_com_au\Website\Views\Partials\blockList\Components\candidateSearchSection.cshtml:line 31
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData)
   at AspNetCore.Views_Partials_blocklist_default.ExecuteAsync() in C:\Server Files\Websites\haylopeople_com_au\Website\Views\Partials\blocklist\default.cshtml:line 11