I am working on a project using
C#/WPF and following
MVVM pattern. This project is designed for touch screens.
The major objects of the program are the following:
Programs which contain
Channels which contain
Functions. All these should be able to be copied/cut/pasted.
I have to implement a copy/cut/paste functionnalities and wonder where it is best.
My idea was to implement them in the ViewModel because it seems to me bizarre to have such functionnalities in the Models.
However as Models should contain the full Business logic it would be logical to implement them here but I have a doubt.
What is the best practice for such an implementation? Thanks in advance.