public IViewComponentResult Invoke()
        {
            var res = _context.GetLankarToSidor();

            return(View(res));
        }
Exemple #2
0
 public IActionResult GetLankarForMeny()
 {
     return(PartialView("LankarTillSidor.cshtml", _context.GetLankarToSidor()));
 }