Im a newbie and got this project from a friend that keeps telling me Error “Object reference not set to an instance of an object.” Could someone kindly help with this line 15
Line 13: {
Line 14: ViewBag.ResumeId = firstResume.ResumeId;
Line 15: var firstResume = _context.Resumes.FirstOrDefault();
Line 16: return View(firstResume);
Line 17: }