i'm new to linq and mvc so far this is to get name base on name search
return repository.GetAll().Where(
m => m.Name.ToLower().Contains(name.ToLower()));
however, i want to be able to get information from another table that associated with name like address, city, etc.. base on the name search. so at the end if i type in Pete, it will returns.
pete a, 111 test ave, holland, usa;
pete c, 222 test rd, holland, usa;
can someone help please. thanks