public HttpResponseMessage GetProjectsAndHoursByUserIdAccordingTheMonth(int userId) { return(new HttpResponseMessage(HttpStatusCode.OK) { Content = new ObjectContent <List <Unknown> >(LogicProjects.GetProjectsAndHoursByUserIdAccordingTheMonth(userId), new JsonMediaTypeFormatter()) }); }