摘要:
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 = 阅读全文