I tried to use Sanitize() extension method for strings in a Razor function but it gives error: No extension method found.
Another question is that how can I return values from C# functions in Razor razor function? Standart function markup only returns XHTML markup. I want to send email in a razor function so I need to call my own SendMail() C# function which one returns the result as success or not.
Another question is that how can I return values from C# functions in Razor razor function? Standart function markup only returns XHTML markup. I want to send email in a razor function so I need to call my own SendMail() C# function which one returns the result as success or not.