Mineplex2018-withcommit/Website/packages/MvcScaffolding.1.0.7/tools/Action/Action.vb.t4
Jonathan Williams 3fb52c5c71 Initial Commit
2013-08-27 08:14:08 -07:00

10 lines
321 B
Plaintext

<#@ Template Language="VB" HostSpecific="True" Inherits="DynamicTransform" #>
<# Dim viewModel = CType(Model.ViewModel, EnvDTE.CodeType) #>
Public Function <#= Model.Action #>() As ViewResult
<# If viewModel Is Nothing Then #>
Return View()
<# Else #>
Return View(New <#= viewModel.Name #>())
<# End If #>
End Function