// by giving a new nanny, the function updates a nanny. public void UpdateNanny(Nanny nanny) { DAL.UpdateNanny(nanny); }