CoreWiki
CoreWiki copied to clipboard
Comment POST action goes to page where the partial is embedded
We're currently handling POST requests from the CreateComments component in the page where the component is embedded. e.x. https://github.com/csharpfritz/CoreWiki/blob/dev/CoreWiki/Pages/Details.cshtml.cs#L87-L108
Shouldn't we be handling the post of the comment creation in the Comment component? Or if not there, somewhere other than the embedded page?
Just trying to stick to the single responsibility principle.