public CompanyDto(Entities.CompanyEntity companyEntity)
 {
     Name    = companyEntity.Name;
     Profile = companyEntity.Profile == null ?
               null : new ProfileDto(companyEntity.Profile);
     Employees = companyEntity.Employees?.Select(e => new EmployeeDto(e)).ToList();
 }
 public CompanyDto(Entities.CompanyEntity companyEntity)
 {
     this.Name      = companyEntity.Name;
     this.Profile   = companyEntity.ProfileEntity == null ? null : new ProfileDto(companyEntity.ProfileEntity);
     this.Employees = companyEntity.Employees.Select(employeeEntity => new EmployeeDto(employeeEntity)).ToList();
 }