await _entities.Company.Join(_entities.Employee,
com => com.Company_id,
emp => emp.Company_id,
(com, emp) => new SearchCompany
{
companyID = com.Company_id,
industryType = com.industry_id,
company = com.Company_name,
location = com.City,
contacts = emp.Employee_phone
})
.Where(input => input.company == companyName)
.GroupBy(c => new { c.companyID, c.industryType, c.company, c.location })
.ToListAsync();