/// <summary>
        ///
        /// </summary>
        /// <param name="companyCollection"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        public ICompanyListView CreateCompanyListView(IList <ICompanyDetail> companyCollection, string message)
        {
            if (companyCollection == null)
            {
                throw new ArgumentNullException(nameof(companyCollection));
            }

            var returnView = new CompanyListView
            {
                CompanyCollection = companyCollection,
                ProcessingMessage = message ?? ""
            };

            return(returnView);
        }
        /// <summary>
        /// Gets my companyies.
        /// </summary>
        /// <param name="companyCollection">The company collection.</param>
        /// <param name="processsingMessage">The processsing message.</param>
        /// <returns></returns>
        /// <exception cref="ArgumentNullException">companyCollection</exception>
        public ICompanyListView GetMyCompanyies(IList <ICompanyDetail> companyCollection, string processsingMessage)
        {
            if (companyCollection == null)
            {
                throw new ArgumentNullException(nameof(companyCollection));
            }

            var result = new CompanyListView
            {
                CompanyCollection = companyCollection,
                ProcessingMessage = processsingMessage,
            };

            return(result);
        }