{"action":"created","comment":{"url":"https://api.github.com/repos/mark-truran/sportingevent/pulls/comments/82763922","pull_request_review_id":3646242,"id":82763922,"diff_hunk":"@@ -18,7 +18,11 @@ public class SessionsController : Controller\n         // GET: Sessions\n         public ActionResult Index()\n         {\n-            var sessions = db.Sessions.Include(s => s.Activity);\n+            //extract the usefull part of the WindowsAuthName\n+            string currentUserName = User.Identity.Name.Substring(User.Identity.Name.LastIndexOf('\\\\'));\n+\n+            var sessions = db.Sessions.Where(member => member.TeamMemeberId.WindowsAuthUserName.Contains(currentUserName));;","path":"Tombolathon/Tombolathon/Controllers/SessionsController.cs","position":8,"original_position":8,"commit_id":"61b71edd63f9744d50429cd8f5ed43ece771d6fe","original_commit_id":"61b71edd63f9744d50429cd8f5ed43ece771d6fe","user":{"login":"LukeHillTombola","id":11555347,"avatar_url":"https://avatars.githubusercontent.com/u/11555347?v=3","gravatar_id":"","url":"https://api.github.com/users/LukeHillTombola","html_url":"https://github.com/LukeHillTombola","followers_url":"https://api.github.com/users/LukeHillTombola/followers","following_url":"https://api.github.com/users/LukeHillTombola/following{/other_user}","gists_url":"https://api.github.com/users/LukeHillTombola/gists{/gist_id}","starred_url":"https://api.github.com/users/LukeHillTombola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukeHillTombola/subscriptions","organizations_url":"https://api.github.com/users/LukeHillTombola/orgs","repos_url":"https://api.github.com/users/LukeHillTombola/repos","events_url":"https://api.github.com/users/LukeHillTombola/events{/privacy}","received_events_url":"https://api.github.com/users/LukeHillTombola/received_events","type":"User","site_admin":false},"body":"double semi colons","created_at":"2016-10-11T10:19:50Z","updated_at":"2016-10-11T10:20:34Z","html_url":"https://github.com/mark-truran/sportingevent/pull/6#discussion_r82763922","pull_request_url":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/mark-truran/sportingevent/pulls/comments/82763922"},"html":{"href":"https://github.com/mark-truran/sportingevent/pull/6#discussion_r82763922"},"pull_request":{"href":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6","id":88804499,"html_url":"https://github.com/mark-truran/sportingevent/pull/6","diff_url":"https://github.com/mark-truran/sportingevent/pull/6.diff","patch_url":"https://github.com/mark-truran/sportingevent/pull/6.patch","issue_url":"https://api.github.com/repos/mark-truran/sportingevent/issues/6","number":6,"state":"open","locked":false,"title":"Tombolathon/pu 1473/fixing bugs","user":{"login":"magierowskiTombola","id":21171904,"avatar_url":"https://avatars.githubusercontent.com/u/21171904?v=3","gravatar_id":"","url":"https://api.github.com/users/magierowskiTombola","html_url":"https://github.com/magierowskiTombola","followers_url":"https://api.github.com/users/magierowskiTombola/followers","following_url":"https://api.github.com/users/magierowskiTombola/following{/other_user}","gists_url":"https://api.github.com/users/magierowskiTombola/gists{/gist_id}","starred_url":"https://api.github.com/users/magierowskiTombola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magierowskiTombola/subscriptions","organizations_url":"https://api.github.com/users/magierowskiTombola/orgs","repos_url":"https://api.github.com/users/magierowskiTombola/repos","events_url":"https://api.github.com/users/magierowskiTombola/events{/privacy}","received_events_url":"https://api.github.com/users/magierowskiTombola/received_events","type":"User","site_admin":false},"body":"A range of updates to fix the things that got broken during the restructuring.","created_at":"2016-10-11T10:04:03Z","updated_at":"2016-10-11T10:20:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b67f234e8e0046b7d87637e0c0bda758e502aac2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6/commits","review_comments_url":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6/comments","review_comment_url":"https://api.github.com/repos/mark-truran/sportingevent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mark-truran/sportingevent/issues/6/comments","statuses_url":"https://api.github.com/repos/mark-truran/sportingevent/statuses/61b71edd63f9744d50429cd8f5ed43ece771d6fe","head":{"label":"mark-truran:Tombolathon/PU-1473/Fixing_Bugs","ref":"Tombolathon/PU-1473/Fixing_Bugs","sha":"61b71edd63f9744d50429cd8f5ed43ece771d6fe","user":{"login":"mark-truran","id":13332188,"avatar_url":"https://avatars.githubusercontent.com/u/13332188?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-truran","html_url":"https://github.com/mark-truran","followers_url":"https://api.github.com/users/mark-truran/followers","following_url":"https://api.github.com/users/mark-truran/following{/other_user}","gists_url":"https://api.github.com/users/mark-truran/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-truran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-truran/subscriptions","organizations_url":"https://api.github.com/users/mark-truran/orgs","repos_url":"https://api.github.com/users/mark-truran/repos","events_url":"https://api.github.com/users/mark-truran/events{/privacy}","received_events_url":"https://api.github.com/users/mark-truran/received_events","type":"User","site_admin":false},"repo":{"id":67999124,"name":"sportingevent","full_name":"mark-truran/sportingevent","owner":{"login":"mark-truran","id":13332188,"avatar_url":"https://avatars.githubusercontent.com/u/13332188?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-truran","html_url":"https://github.com/mark-truran","followers_url":"https://api.github.com/users/mark-truran/followers","following_url":"https://api.github.com/users/mark-truran/following{/other_user}","gists_url":"https://api.github.com/users/mark-truran/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-truran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-truran/subscriptions","organizations_url":"https://api.github.com/users/mark-truran/orgs","repos_url":"https://api.github.com/users/mark-truran/repos","events_url":"https://api.github.com/users/mark-truran/events{/privacy}","received_events_url":"https://api.github.com/users/mark-truran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mark-truran/sportingevent","description":"MVC app for sporting event","fork":false,"url":"https://api.github.com/repos/mark-truran/sportingevent","forks_url":"https://api.github.com/repos/mark-truran/sportingevent/forks","keys_url":"https://api.github.com/repos/mark-truran/sportingevent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mark-truran/sportingevent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mark-truran/sportingevent/teams","hooks_url":"https://api.github.com/repos/mark-truran/sportingevent/hooks","issue_events_url":"https://api.github.com/repos/mark-truran/sportingevent/issues/events{/number}","events_url":"https://api.github.com/repos/mark-truran/sportingevent/events","assignees_url":"https://api.github.com/repos/mark-truran/sportingevent/assignees{/user}","branches_url":"https://api.github.com/repos/mark-truran/sportingevent/branches{/branch}","tags_url":"https://api.github.com/repos/mark-truran/sportingevent/tags","blobs_url":"https://api.github.com/repos/mark-truran/sportingevent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mark-truran/sportingevent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mark-truran/sportingevent/git/refs{/sha}","trees_url":"https://api.github.com/repos/mark-truran/sportingevent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mark-truran/sportingevent/statuses/{sha}","languages_url":"https://api.github.com/repos/mark-truran/sportingevent/languages","stargazers_url":"https://api.github.com/repos/mark-truran/sportingevent/stargazers","contributors_url":"https://api.github.com/repos/mark-truran/sportingevent/contributors","subscribers_url":"https://api.github.com/repos/mark-truran/sportingevent/subscribers","subscription_url":"https://api.github.com/repos/mark-truran/sportingevent/subscription","commits_url":"https://api.github.com/repos/mark-truran/sportingevent/commits{/sha}","git_commits_url":"https://api.github.com/repos/mark-truran/sportingevent/git/commits{/sha}","comments_url":"https://api.github.com/repos/mark-truran/sportingevent/comments{/number}","issue_comment_url":"https://api.github.com/repos/mark-truran/sportingevent/issues/comments{/number}","contents_url":"https://api.github.com/repos/mark-truran/sportingevent/contents/{+path}","compare_url":"https://api.github.com/repos/mark-truran/sportingevent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mark-truran/sportingevent/merges","archive_url":"https://api.github.com/repos/mark-truran/sportingevent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mark-truran/sportingevent/downloads","issues_url":"https://api.github.com/repos/mark-truran/sportingevent/issues{/number}","pulls_url":"https://api.github.com/repos/mark-truran/sportingevent/pulls{/number}","milestones_url":"https://api.github.com/repos/mark-truran/sportingevent/milestones{/number}","notifications_url":"https://api.github.com/repos/mark-truran/sportingevent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mark-truran/sportingevent/labels{/name}","releases_url":"https://api.github.com/repos/mark-truran/sportingevent/releases{/id}","deployments_url":"https://api.github.com/repos/mark-truran/sportingevent/deployments","created_at":"2016-09-12T10:22:22Z","updated_at":"2016-10-04T14:39:47Z","pushed_at":"2016-10-11T10:08:27Z","git_url":"git://github.com/mark-truran/sportingevent.git","ssh_url":"git@github.com:mark-truran/sportingevent.git","clone_url":"https://github.com/mark-truran/sportingevent.git","svn_url":"https://github.com/mark-truran/sportingevent","homepage":null,"size":2533,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mark-truran:master","ref":"master","sha":"d7ca3364921cf4bbc8887bf1d48062c0852ca109","user":{"login":"mark-truran","id":13332188,"avatar_url":"https://avatars.githubusercontent.com/u/13332188?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-truran","html_url":"https://github.com/mark-truran","followers_url":"https://api.github.com/users/mark-truran/followers","following_url":"https://api.github.com/users/mark-truran/following{/other_user}","gists_url":"https://api.github.com/users/mark-truran/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-truran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-truran/subscriptions","organizations_url":"https://api.github.com/users/mark-truran/orgs","repos_url":"https://api.github.com/users/mark-truran/repos","events_url":"https://api.github.com/users/mark-truran/events{/privacy}","received_events_url":"https://api.github.com/users/mark-truran/received_events","type":"User","site_admin":false},"repo":{"id":67999124,"name":"sportingevent","full_name":"mark-truran/sportingevent","owner":{"login":"mark-truran","id":13332188,"avatar_url":"https://avatars.githubusercontent.com/u/13332188?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-truran","html_url":"https://github.com/mark-truran","followers_url":"https://api.github.com/users/mark-truran/followers","following_url":"https://api.github.com/users/mark-truran/following{/other_user}","gists_url":"https://api.github.com/users/mark-truran/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-truran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-truran/subscriptions","organizations_url":"https://api.github.com/users/mark-truran/orgs","repos_url":"https://api.github.com/users/mark-truran/repos","events_url":"https://api.github.com/users/mark-truran/events{/privacy}","received_events_url":"https://api.github.com/users/mark-truran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mark-truran/sportingevent","description":"MVC app for sporting event","fork":false,"url":"https://api.github.com/repos/mark-truran/sportingevent","forks_url":"https://api.github.com/repos/mark-truran/sportingevent/forks","keys_url":"https://api.github.com/repos/mark-truran/sportingevent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mark-truran/sportingevent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mark-truran/sportingevent/teams","hooks_url":"https://api.github.com/repos/mark-truran/sportingevent/hooks","issue_events_url":"https://api.github.com/repos/mark-truran/sportingevent/issues/events{/number}","events_url":"https://api.github.com/repos/mark-truran/sportingevent/events","assignees_url":"https://api.github.com/repos/mark-truran/sportingevent/assignees{/user}","branches_url":"https://api.github.com/repos/mark-truran/sportingevent/branches{/branch}","tags_url":"https://api.github.com/repos/mark-truran/sportingevent/tags","blobs_url":"https://api.github.com/repos/mark-truran/sportingevent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mark-truran/sportingevent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mark-truran/sportingevent/git/refs{/sha}","trees_url":"https://api.github.com/repos/mark-truran/sportingevent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mark-truran/sportingevent/statuses/{sha}","languages_url":"https://api.github.com/repos/mark-truran/sportingevent/languages","stargazers_url":"https://api.github.com/repos/mark-truran/sportingevent/stargazers","contributors_url":"https://api.github.com/repos/mark-truran/sportingevent/contributors","subscribers_url":"https://api.github.com/repos/mark-truran/sportingevent/subscribers","subscription_url":"https://api.github.com/repos/mark-truran/sportingevent/subscription","commits_url":"https://api.github.com/repos/mark-truran/sportingevent/commits{/sha}","git_commits_url":"https://api.github.com/repos/mark-truran/sportingevent/git/commits{/sha}","comments_url":"https://api.github.com/repos/mark-truran/sportingevent/comments{/number}","issue_comment_url":"https://api.github.com/repos/mark-truran/sportingevent/issues/comments{/number}","contents_url":"https://api.github.com/repos/mark-truran/sportingevent/contents/{+path}","compare_url":"https://api.github.com/repos/mark-truran/sportingevent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mark-truran/sportingevent/merges","archive_url":"https://api.github.com/repos/mark-truran/sportingevent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mark-truran/sportingevent/downloads","issues_url":"https://api.github.com/repos/mark-truran/sportingevent/issues{/number}","pulls_url":"https://api.github.com/repos/mark-truran/sportingevent/pulls{/number}","milestones_url":"https://api.github.com/repos/mark-truran/sportingevent/milestones{/number}","notifications_url":"https://api.github.com/repos/mark-truran/sportingevent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mark-truran/sportingevent/labels{/name}","releases_url":"https://api.github.com/repos/mark-truran/sportingevent/releases{/id}","deployments_url":"https://api.github.com/repos/mark-truran/sportingevent/deployments","created_at":"2016-09-12T10:22:22Z","updated_at":"2016-10-04T14:39:47Z","pushed_at":"2016-10-11T10:08:27Z","git_url":"git://github.com/mark-truran/sportingevent.git","ssh_url":"git@github.com:mark-truran/sportingevent.git","clone_url":"https://github.com/mark-truran/sportingevent.git","svn_url":"https://github.com/mark-truran/sportingevent","homepage":null,"size":2533,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6"},"html":{"href":"https://github.com/mark-truran/sportingevent/pull/6"},"issue":{"href":"https://api.github.com/repos/mark-truran/sportingevent/issues/6"},"comments":{"href":"https://api.github.com/repos/mark-truran/sportingevent/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/mark-truran/sportingevent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mark-truran/sportingevent/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/mark-truran/sportingevent/statuses/61b71edd63f9744d50429cd8f5ed43ece771d6fe"}}}}
{"actor":{"display_login":"LukeHillTombola"}}