public void AddMeetingNegation([Bind] NewMeetingDto model)
        {
            //			Console.WriteLine ("AddMeeting");
            String validateCreateMsg = validateCreateMeeting(model);

            if (validateCreateMsg != null)
            {
                model.ResponseMessage = validateCreateMsg;
                var temp = new NewMeeting {
                    Model = model
                };
                var pagestring = "nada que ver";
                pagestring = temp.GenerateString();
                webView.LoadHtmlString(pagestring);
            }
            else
            {
                model.HasNegation = true;
                model.Terminate   = DateTime.Today;
                int?idCase = createMeeting(model);
                int az     = idCase.GetValueOrDefault();
                //String Response = "Se ha guardado exitosamente";
                Index();
            }
        }
        public void  MeetingEditNew()
        {
            var temp = new NewMeeting {
                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);
        }
예제 #3
0
        public void AddMeeting([Bind] NewMeetingDto model)
        {
            String validateCreateMsg = validateCreateMeeting(model);

            if (validateCreateMsg != null)
            {
                model.ResponseMessage = validateCreateMsg;
                var temp = new NewMeeting {
                    Model = model
                };
                var pagestring = "nada que ver";
                pagestring = temp.GenerateString();
                webView.LoadHtmlString(pagestring);
            }
            else
            {
                int?idCase = createMeeting(model);
                int az     = idCase.GetValueOrDefault();
                //String Response = "Se ha guardado exitosamente";
                MeetingDatosPersonales(az);
            }
        }