Wondering if there's a graceful way to handle something that, on the surface, would break SoC. Short version: I have an edit model I want to pass into my repo's validator, but I don't want the repo to have a reference to the edit model, as the repo is part of the domain and the model is with the UI. Details and code here: http://stackoverflow.com/questions/6062914/asp-net-mvc-design-question-input-edit-model-reference-in-the-domain
So, nerd collective, how badly have I designed my code?
No comments:
Post a Comment