摘要: I am working on some code like this:?123456789101112131415[Authorize]public ActionResult Edit(int id) {Dinner dinner = dinnerRepository.FindDinner(id);if (dinner.HostedBy != User.Identity.Name)return View("InvalidOwner");var viewModel = new DinnerFormViewModel {Dinner = dinner,Countries = 阅读全文
posted @ 2011-06-21 10:32 ido 阅读(926) 评论(1) 推荐(0) 编辑