public void addPersoon(Persoon persoon) { initNonExistingRepo(true); elementRepository.AddPersoon(persoon); uowManager.Save(); }
public Dashboard getDashboard(string email, string deelplatformS) { initNonExistingRepo(true); IPlatformManager platformManager = new PlatformManager(uowManager); Deelplatform deelplatform = platformManager.getDeelplatformByNaam(deelplatformS); Dashboard dashboard = dashboardRepository.getDashboard(email, deelplatform); uowManager.Save(); return(dashboard); }