コード例 #1
0
        public IHttpActionResult AcceptProject(int projectId, string username)
        {
            var service = new UserService();

            try
            {
                service.AcceptProject(projectId, username);
                return(Ok());
            }
            catch (System.Exception)
            {
                return(NotFound());
            }
        }