Exemple #1
0
 public void UpdateSettings(SetSiteSettings c)
 {
     Apply(new SiteSettingsUpdated
     {
         Id           = State.Id,
         SmtpSettings = c.SmtpSettings,
     });
 }
 public void Handle(SetSiteSettings c)
 {
     _repository.Perform(c.Id, a => a.UpdateSettings(c));
 }