Separating the service layer from the validation layer
问题 I currently have a service layer based on the article Validating with a service layer from the ASP.NET site. According to this answer, this is a bad approach because the service logic is mixed with the validation logic which violates the single responsibility principle. I really like the alternative that is supplied but during re-factoring of my code I have come across a problem that I am unable to solve. Consider the following service interface: interface IPurchaseOrderService { void