wpf - Where should the crud logic be implemented in mvvm? -
    in mvvm light application search in customer list. search narrows customer list displayed in master/detail view datagrid (the master customersearchresultview) , separately defined usercontrol firstname, lastname, address etc, etc (the detail - customersearchdetailview). here main content of master/detail view:    <stackpanel minwidth="150" >         <textblock text="customer search result list" />              <grid>                 <datagrid name="customerlist" itemssource="{binding searchresult}" selecteditem="{binding selectedrow, mode=twoway}" >                       .....                 </datagrid>             </grid>             <grid grid.column="2">                 <textblock text="customer details" style="{staticresource heading2}" margin="30,-23,0,0"/>                 <content:customersearchdetail datacontext="{binding selected...