Ejemplo n.º 1
0
        public TransactionResult <Boolean> Remove10002ComponentConfig(int appConfigId)
        {
            TransactionResult <Boolean> result = new TransactionResult <Boolean>();
            var serviceResult = AppConfigService.Remove10002ComponentConfig(appConfigId);

            if (serviceResult.ActionResult && serviceResult.Data)
            {
                result.Data = serviceResult.Data;
            }
            else
            {
                result.Code    = 103;
                result.Message = serviceResult.ErrorMsg;
            }
            return(result);
        }