public void Process(CompanyFullInfoRequest request)
 {
     var companyRecordInfo = request.MapTo<CompanyConnectRecord>();
     if(request.AddCompanyTypeId == (int)AddCompanyTypeEnum.AddCompanyRecord)
     {
         companyRecordInfo.CompanyConnectRecordId = 0;
     }
     _companyBll.SaveCompanyConnectRecord(companyRecordInfo);
 }
        public void Process(CompanyFullInfoRequest request)
        {
            var companyInfo       = request.MapTo <Company>();
            var companyId         = _companyBll.SaveCompany(companyInfo);
            var companyRecordInfo = request.MapTo <CompanyConnectRecord>();

            companyRecordInfo.CompanyId = companyId;
            _companyBll.SaveCompanyConnectRecord(companyRecordInfo);
        }