Beispiel #1
0
        public ActionResult RandomTip()
        {
            var tip = _tipRepository.GetRandomTip();

            return(PartialView("_RandomTips", new RandomTipViewModel {
                Tip = tip.Tip
            }));
        }