How to display only Active customer(isActive : true) in mvc.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajesh GamiPosted Jul 29, 2018, 11:12 PM
Ar VhinPosted Jul 29, 2018, 11:23 PM
Jenith ThakkarPosted Jul 29, 2018, 11:11 PM
Like This
var CustomerList=db.Customers.where(l=>l.IsActive==true).toList();
And in VIewSIde Get this Customer List
If you still facing any issue then provide your code i will tell you the solution