//first in c# where you create the controller action method
//to create the method that will populate all content details
//add the following code
public actionresult details(int id)
{
var repositorylist = _repository.list();
viewdata["list"] = repositorylist;
return view(_repository.get(id));
}
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
曰邢一珊闺蜜