Umbraco 12 Surface Controller with custom Model

47 views Asked by At

I'm trying to use Surface controller with custom ViewModel. The problem is that when I use '@Html.BeginUmbracoForm' the endpoint is not constructed right. Its point to the same page on what im. I think this is because Model what im using is custom what inherits from 'ContentModel'. I'm out of ideas what I can do.

custom model

form

surface controller action

0

There are 0 answers