I want to ignore null when the query check the value exist in database table in C# using LINQ and Lambda expression.
Below line is checking null as well. When it finds null then ignore it.
var nmcExist = db.AspNetUsers.Any(a => a.NMC_Number== model.NMC_Number);