(ÇÖZÜM) The 'ObjectContent`1' type failed to serialize the response body for content type 'application/xml; charset=utf-8'
At the first;
using System.Data.Entity;
Code:
GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings .ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore; GlobalConfiguration.Configuration.Formatters .Remove(GlobalConfiguration.Configuration.Formatters.XmlFormatter);