public List <Companies> SelectAllCompanies()
        {
            var responseEntities = new List <Companies>();

            try
            {
                using (var repo = new CompaniesRepository())
                {
                    foreach (var entity in repo.SelectAll())
                    {
                        responseEntities.Add(entity);
                    }
                }
                return(responseEntities);
            }
            catch (Exception ex)
            {
                LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
                throw new Exception("BusinessLogic:CompaniesBusiness::SelectAllCompanies::Error occured.", ex);
            }
        }