How to organize the work with dao from the viewModel?

I have a viewModel to flood a list of all the recipes that are in the database. How can I do it without breaking trekhsloynoy architecture.
Toist how do I communicate with the database view to the user, for example add a recipe and more.
The project is a wpf mvvm pattern
April 7th 20 at 11:08
1 answer
April 7th 20 at 11:10
In these two articles on habré are all painted in detail:
Part 1
Part 2
Thank you, it is simply not to know how to use Google. - clyde.Trembl commented on April 7th 20 at 11:13

Find more questions by tags C#