user interface - Domain Entity and UI Entity -
we creating project using mvc c# in application having following layers:
- presentation (mvc)
- controller
- view
- domain
- domain entity
- repository interface
- interface unit of works
- infrastructure (dataaccess)
- repository
- unit of works
- edmx
- data entity
our domain entity , data entity same. poco class. have bound our views domain entity tightly coupled.
question:
1. correct or create viewmodel entity our views?
2. pass our data entity our view save on mapping?
i dont think rigth... talking mvc, our layers meens model, view,controller, maybe
Comments
Post a Comment