阅读背景:

如何在MVC中获取与特定用户相同的数据?

来源:互联网 

I am trying to show different information from the database on my website depending on which user is logged in. I have just begun with MVC (have done a couple of tutorials and can see information through my views on webpage.) Now I want to filter data on the user who is logged in. I am thinking a where clause somewhere. I am thinking in this controller where the context gets the data from db. I am trying to show different information from




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: