In traditional server-side MVC a Create resource action usually consists of two requests, a GET which returns a form to be completed by the user and a POST which accepts the FormData.
In ASP.NET MVC the controller actions would look like this:
public ActionResult Create() {}
[HttpPost]
public ActionResult Create(X x) {}
In SS I have a CreateX service which fulfils the POST part. What’s the best way of returning the form in the first place?
I thought about creating a NewX service, it wouldn’t actually return any data but would render the form view. Alternatively as no-data is involved maybe a content page would be a better choice? Though that doesn’t feel quite right either.