Unloaded “eager-loaded” properties causing issues when returning json'd data
问题 Hopefully the title makes sense, I'll do my best to describe my problem. I'm currently developing an ASP.NET Web API. In my "Company" controller I have a GetCompany() action. /// <summary> /// Gets the 'Authorization-Token' request header and finds the company with the /// matching decrypted token from the database, returns it; if null, returns 404 /// </summary> /// <returns>Matching company for token passed in request or 404 if null</returns> [HttpGet][ResponseType(typeof(Company))] [Route(