linq query with where condition???
Hello Friends,
Please help me for below query???
how to apply in below query where condition with && and || operatore????
in below query i have only one where x => x.Name.Contains(name)
return Json(context.Master1.Where(x => x.Name.Contains(name)).Select(s => s.Name).ToArray(), JsonRequestBehavior.AllowGet);