public EDIOutput270 Get270(EDIInput270 ediInputItem)
        {
            EDIUtils     ediUtils      = new EDIUtils();
            EDIOutput270 ediOutputItem = new EDIOutput270();
            string       strControler  = "";

            ediOutputItem.ediItem = ediUtils.Write270(ediInputItem.SurescriptsPassword,
                                                      ediInputItem.SurescriptsParticipantId,
                                                      ediInputItem.Staging,

                                                      ediInputItem.PatientProviderLastName,
                                                      ediInputItem.PatientProviderFirstName,
                                                      ediInputItem.PatientProviderMiddleName,
                                                      ediInputItem.PatientProviderSuffix,
                                                      ediInputItem.PatientProviderNPI,
                                                      ediInputItem.PatientProviderDEA,
                                                      ediInputItem.PatientProviderAddressLine1,
                                                      ediInputItem.PatientProviderAddressLine2,
                                                      ediInputItem.PatientProviderAddressCity,
                                                      ediInputItem.PatientProviderAddressState,
                                                      ediInputItem.PatientProviderAddressZip,

                                                      ediInputItem.PatientID,
                                                      ediInputItem.PatientLastName,
                                                      ediInputItem.PatientFirstName,
                                                      ediInputItem.PatientMiddleName,
                                                      ediInputItem.PatientAddressLine1,
                                                      ediInputItem.PatientAddressLine2,
                                                      ediInputItem.PatientAddressCity,
                                                      ediInputItem.PatientAddressState,
                                                      ediInputItem.PatientAddressZip,
                                                      ediInputItem.PatientDOB,
                                                      ediInputItem.PatientGender, out strControler);

            ediOutputItem.strControlNo = strControler;

            return(ediOutputItem);
        }
        public CreatedAtActionResult Post270(EDIInput270 EdiInputItem)
        {
            var ediItem = Get270(EdiInputItem);

            return(CreatedAtAction(nameof(Get270), new { id = 1 }, ediItem));
        }