I have get list using linq query but i have face this issue .Data is Null. This method or property cannot be called on Null values.
What is issue please help me
TripPost = await _context.TripPost.ToListAsync();
it's me query
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kiran MohantyRank #821 · 2.8K reputationPosted Nov 8, 2020, 10:53 PM EST
Ashutosh GuptaRank #805 · 2.9K reputationPosted Nov 9, 2020, 7:41 AM EST