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 ...
確定! 回上一頁