I called the C# function from Razor function. I've got an error:
I couldn't call a C# function from another C# function either.
Compilation failed: IhbarHatti.cshtml(156): error CS0030: Cannot convert type 'System.Web.IHtmlString' to 'bool'Function (bool)Function("izo.Utils.SendMailToList") returns a bool value.
I couldn't call a C# function from another C# function either.
string credentialUser = izo.Utils.InlineMethodFunction.GetValue("POP3 User");
orstring credentialUser = izo.Utils.GetValue("POP3 User");
Got an error:'izo.Utils.InlineMethodFunction' doesn't contain a definition for 'GetValue'Invoking Function("myfunc") won't help in C# function either :
The name Function doesn't exist in the current contextI don't use Visual Studio, I write code in Notepad like built-in code editor. So I can't examine the error.