コード例 #1
0
        public IHttpActionResult Get()
        {
            ProjectUserRepository projectUserRepository = new ProjectUserRepository(Convert.ToInt32(Request.Headers.GetValues("CurrentUserID").First()));
            List <ProjectUser>    projectUserList       = projectUserRepository.GetProjectUsers();

            return(Json(new { ProjectUsers = projectUserList }));
        }