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