Пример #1
0
        public bool Remove(AccountDto model)
        {
            var result = AccountSection.Accounts.Remove(model.AsModel());

            Config.Save(ConfigurationSaveMode.Modified);
            return(result);
        }
Пример #2
0
        public bool Create(AccountDto model)
        {
            AccountSection.Accounts.Add(model.AsModel());

            Config.Save(ConfigurationSaveMode.Modified);
            return(true);
        }