Business logic of projects under MVVM in WPF?

I am developing an application in wpf using the MVVM template that I have doubts, for example, if you accept a student as a model that is a data model, where I can add business logic, for example, add a new student and remove the student and update the student information and settlement brands and all?

I mean, do all business logic go into MODEL or VIEWMODEL?

If this is a model, how can we do this, please, sample code? I need a complete code for an example!

Hello and thanks in advance karthinalls

+3
source share
3 answers

- , . , - ASP.NET MVC WPF, - .

, .

, , , , .

+3

PRISM : 5: MVVM.

PRISM, Microsoft.

+1

, Microsoft , . , MS , .

, .

. . ViewModel, ViewModel, , . .. , , , ViewModel, . .

Keeping these roles in mind, you will have a scalable and verifiable application.

+1
source

Source: https://habr.com/ru/post/1793544/


All Articles