public IHttpActionResult Get() { ProjectUserRepository projectUserRepository = new ProjectUserRepository(Convert.ToInt32(Request.Headers.GetValues("CurrentUserID").First())); List <ProjectUser> projectUserList = projectUserRepository.GetProjectUsers(); return(Json(new { ProjectUsers = projectUserList })); }