Beispiel #1
0
 public bool ModifySite(Site site)
 {
     var result = _siteRepository.EditById(site);
     _siteRepository.Commit();
     return result;
 }
Beispiel #2
0
 public bool CreateSite(Site site)
 {
     var result = _siteRepository.Add(site);
     _siteRepository.Commit();
     return result;
 }