コード例 #1
0
        public void  CaseConditionalReprieveEditNew()
        {
            var temp = new NewConditionalReprieve2 {
                Model = new NewMeetingDto()
            };
            //			var temp = new NewMeeting{Model = new EntrevistaTabla{Name="nombre" , DateBirthString=DateTime.Today.ToString("yyyy/mm/dd")} };
            var pagestring = "nada que ver";

            pagestring = temp.GenerateString();
            webView.LoadHtmlString(pagestring);
        }
コード例 #2
0
        public void AddCaseConditionalReprieve([Bind] NewMeetingDto model)
        {
            String validateCreateMsg = validateCaseConditionalReprieve(model);

            if (validateCreateMsg != null)
            {
                model.ResponseMessage = validateCreateMsg;
                var temp = new NewConditionalReprieve2 {
                    Model = model
                };
                var pagestring = "nada que ver";
                pagestring = temp.GenerateString();
                webView.LoadHtmlString(pagestring);
            }
            else
            {
                int?idCase = createCaseConditionalReprieve(model);
                int az     = idCase.GetValueOrDefault();
                Index();
            }
        }