public ActionResult RandomTip() { var tip = _tipRepository.GetRandomTip(); return(PartialView("_RandomTips", new RandomTipViewModel { Tip = tip.Tip })); }
public ActionResult RandomTip() { var tip = _tipRepository.GetRandomTip(); return(PartialView("_RandomTips", new RandomTipViewModel { Tip = tip.Tip })); }