Try with this:
<script type="text/javascript">
@if (Model.Employees.Count > 1)
{
@:executeJsfunction();
}
</script>
Note the “@:“
Try with this:
<script type="text/javascript">
@if (Model.Employees.Count > 1)
{
@:executeJsfunction();
}
</script>
Note the “@:“