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