Exemple #1
0
        public IViewComponentResult Invoke()
        {
            var currentSpecials = _db.GetMonthlySpecials();


            return(View(currentSpecials));
        }
Exemple #2
0
        public IViewComponentResult Invoke()
        {
            var specials = _db.GetMonthlySpecials(3);

            return(View(specials));
        }
 public IViewComponentResult Invoke()
 {
     return(View(_specialsDataContext.GetMonthlySpecials()));
 }
        public IViewComponentResult Invoke()
        {
            var SiteSpecials = _specials.GetMonthlySpecials();

            return(View(SiteSpecials));
        }