Asp.net Search function issues

Asp.net Search function issues

I have a simple search function that allows me to search for certain words from different tables. This is annoying as I feel there is a simple fix i'm not seeing here. Can someone assist? Thank you in advance.

I have a simple search function that allows me to search for certain words from different tables. This is annoying as I feel there is a simple fix i'm not seeing here. Can someone assist? Thank you in advance.

ViewModel
IEnumerable<Owner> Owners {get; set;}
IEnumerable<Car> Cars {get; set;}
Search Method
public IEnumerable<ViewModel> Search(string search)
 {
   ViewModel searchVM = new ViewModel();

return searchVM.Owner.Where(o => o.Name.Contains(search)) || searchVM.Cars.Where(c => c.Model.Contains(search)); }

Error
Operator '||' cannot be applied to operands of type 'IEnumerable<Owner>' and 
'IEnumerable<Car>'


Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

User Role Report in asp.net core [part 01] || LINQ

LIKE | COMMENT | SHARE | SUBSCRIBE In this video we will discuss how to join multiple table using LINQ (Language Integrated Query). Source code link : https:...

User Role Report in asp.net core [part 02] || LINQ

LIKE | COMMENT | SHARE | SUBSCRIBE In this video we will discuss how to join multiple table using LINQ (Language Integrated Query). Source code link : https:...

Add asp.net Identity in empty project

LIKE | COMMENT | SHARE | SUBSCRIBE Today, in this tutorial you will see the process of adding an ASP.NET Identity to the ASP.NET Web Application developed in...