I have Razor function which outputs some data and as result does not return anything (that's a long story why it is done this way):
@functions
{
public static void SampleHelperMethod()
{
//...
}
}
How can I call it in view now? I tried @MyFunctions.SampleHelperMethod() but it doesn't work for void functions.