What is the difference between Surface and API controller for Umbraco?
In standard MVC the general rule is:
- API is used for returning data, that can be consumed by multiple applications.
- Controller is used for returning views
But I am bit unsure with Umbraco.
So far I have been using surface controller to post data from and into forms, which makes me wonder if I am using it correctly and if should I use instead API controller for this
What are your reasons for your opinion?