Example #1
0
        public string GetNameVanGebruiker(int id)
        {
            Gebruiker gebr = gebruikLogic.GetbyID(id);

            if (gebr.Voornaam != null)
            {
                return(gebr.Voornaam);
            }
            else
            {
                return("No Name");
            }
        }
Example #2
0
        public IActionResult ViewDetailPartial(int id)
        {
            Gebruiker gebr = gebruikLogic.GetbyID(id);

            return(PartialView(gebr));
        }