public bool Remove(AccountDto model) { var result = AccountSection.Accounts.Remove(model.AsModel()); Config.Save(ConfigurationSaveMode.Modified); return(result); }
public bool Create(AccountDto model) { AccountSection.Accounts.Add(model.AsModel()); Config.Save(ConfigurationSaveMode.Modified); return(true); }