示例#1
0
        public ActionResult Index(MashDisplayViewModel model)
        {
            model = model ?? new MashDisplayViewModel();

            var mashes = _dataProvider.GetMashes(model.Tags ==  null ? null : model.Tags.Select(t => t.Slug), model.Count);
            return View("Mashes", mashes);
        }
示例#2
0
 public ActionResult Mashes(MashDisplayViewModel model)
 {
     return Index(model);
 }