예제 #1
0
 public void Put(Site site)
 {
     _siteService.UpdateSettings(site);
 }
예제 #2
0
 public void UpdateSettings(Site site)
 {
     Site.Title = site.Title ?? Site.Title;
     Site.Description = site.Description ?? Site.Description;
     Site.ThemeName = site.ThemeName ?? Site.ThemeName;
 }