Ejemplo n.º 1
0
        public ICommandResult Execute(EditSettingCommand command)
        {
            try
            {
                var setting = new Setting();
                AddSettingDependencies(setting, command);
                _settingRepository.Edit(setting);
                _unitOfWork.Commit();
            }
            catch (Exception exception)
            {
                _logger.Error(exception.Message);
            }

            return(new SuccessResult(""));
        }