Ejemplo n.º 1
0
        public static MsgDialogBoxList MsgDialogBoxGet(int?LanguageId, string MsgDialogBoxName)
        {
            MsgDialogBoxGetRequest req = new MsgDialogBoxGetRequest();

            req.BusinessData.LanguageId       = LanguageId;
            req.BusinessData.MsgDialogBoxName = MsgDialogBoxName;

            MsgDialogBoxGetResponse res = req.ExecuteService <MsgDialogBoxGetRequest, MsgDialogBoxGetResponse>(req);

            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }

            return(res.BusinessData);
        }
Ejemplo n.º 2
0
        public static MsgDialogBoxList MsgDialogBoxGet(int? LanguageId, string MsgDialogBoxName)
        {
            
                MsgDialogBoxGetRequest req = new MsgDialogBoxGetRequest();
                req.BusinessData.LanguageId = LanguageId;
                req.BusinessData.MsgDialogBoxName = MsgDialogBoxName;

                MsgDialogBoxGetResponse res = req.ExecuteService<MsgDialogBoxGetRequest, MsgDialogBoxGetResponse>(req);

                if (res.Error != null)
                    throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);

                return res.BusinessData;

            

        }