Пример #1
0
 public static BarModel Find(this BarProjection projections, FindById query)
 {
     return projections.Bars.Single(x => x.F00 == query.Id);
 }
Пример #2
0
 public ActionResult Edit(FindById query)
 {
     return View(BarEditViewModel.Create(_projection.Find(query)));
 }