Пример #1
0
 public ActionResult View(WidgetId id)
 {
     var viewModel = new WidgetViewViewModel(this.service.GetWidget(id));
     return this.View(viewModel);
 }
Пример #2
0
 public ActionResult View(Guid id)
 {
     var viewModel = new WidgetViewViewModel(service.GetWidget(id));
     return View(viewModel);
 }