//public EMP Get(int id) //{ // return modelo.BuscarEmpleados(id); //} public HttpResponseMessage Get(int id) //get del word { EMP empleado = modelo.BuscarEmpleados(id); var formato = new JsonMediaTypeFormatter(); formato.SerializerSettings.DateFormatHandling = Newtonsoft.Json.DateFormatHandling.MicrosoftDateFormat; formato.SerializerSettings.NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore; formato.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver(); formato.SerializerSettings.Culture = new CultureInfo("es-ES"); return(Request.CreateResponse(HttpStatusCode.OK, empleado, formato)); }