ViewMode or ViewDto? #11975
Unanswered
rodrigomarcell
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following the abp authors/book tutorial of abp (using razor) there are some view classes that are called ViewModels that maps to Dtos.
But ViewModel is a concecpt used in MVC projects where you creacre a ViewModel to map a view straight to a model (domain) which is no the case fo the tutorial abp where it maps a view to a dto, and then, in the application layer the dto is mapped to a model (domain class).
So, in the projetct web, instead of "CreateAuthorViewModel" that is mapped to a "CreateAuthorDto" the correct semnantical name shoudn't be "CreateAuthorViewDto"? Does that make sense?
Beta Was this translation helpful? Give feedback.
All reactions