People use viewmodels in MVC for the sake of convenience. Here's an example: Maybe you have two models: User and Role. You want to pass lists of them to a ...
確定! 回上一頁