private void RenderModule(ISubmitApi objApi) { if (objApi.Result != EnumResult.ButtonSubmit) { return; } var objSn = (ISnApi)_objCb.FindControlHasInterfaceInList <ISnApi>(_listOfObj); var objSo = (ISoApi)_objCb.FindControlHasInterfaceInList <ISoApi>(_listOfObj); var objParam = (IParamApi)_objCb.FindControlHasInterfaceInList <IParamApi>(_listOfObjSnBase); var result = _objTrans.ProcessTransaction(objSn, objSo, objParam); if (result) { CancelSn(true); } }
public ClienteClient(ISubmitApi submitApi, IOptions <ApiBaseAddresses> apiSettings) { apiBaseAddresses = apiSettings.Value; _submitApi.InicializarHttp(apiBaseAddresses.Cliente); }
public UcSubmit(ISubmitApi objSubmit, IControlBuilder objObjControlBuild) : base(objSubmit.GetFlexObj, objSubmit.GetWsObj, objSubmit.GetMsgObj, objSubmit.FormObject, objSubmit.Operation, objObjControlBuild) { _objSubmit = objSubmit; InitializeComponent(); }