/// <summary>
        /// Creates the tax authority registration view.
        /// </summary>
        /// <returns></returns>
        public ITaxAuthorityView CreateTaxAuthorityRegistrationView(IList <IInlandRevenue> inlandRevenues, IList <IJurisdiction> jurisdictions)
        {
            var inlandRevenueNameDDL = GetInlandRevenueDropdown.GetInlandRevnue(inlandRevenues, -1);
            var jurisdictionDDL      = GetJurisdictionDropdown.GetJurisdicions(jurisdictions, -1);

            var view = new TaxAuthorityView
            {
                InlandRevenueNames = inlandRevenueNameDDL,
                JurisdictionNames  = jurisdictionDDL
            };

            return(view);
        }
        /// <summary>
        /// Creates the updated registraion view.
        /// </summary>
        /// <param name="taxAuthorityView">The tax authority view.</param>
        /// <param name="processingMessage">The processing message.</param>
        /// <returns></returns>
        /// <exception cref="ArgumentNullException">taxAuthorityView</exception>
        public ITaxAuthorityView CreateUpdatedRegistraionView(ITaxAuthorityView taxAuthorityView, IList <IJurisdiction> jurisdictions, IList <IInlandRevenue> inlandRevenues, string processingMessage)
        {
            if (taxAuthorityView == null)
            {
                throw new ArgumentNullException(nameof(taxAuthorityView));
            }
            var inlandRevenueNameDDL = GetInlandRevenueDropdown.GetInlandRevnue(inlandRevenues, -1);
            var jurisdictionDDL      = GetJurisdictionDropdown.GetJurisdicions(jurisdictions, -1);

            taxAuthorityView.ProcessingMessage  = processingMessage;
            taxAuthorityView.InlandRevenueNames = inlandRevenueNameDDL;
            taxAuthorityView.JurisdictionNames  = jurisdictionDDL;

            return(taxAuthorityView);
        }