{"action":"created","comment":{"url":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/comments/186913590","pull_request_review_id":118587699,"id":186913590,"diff_hunk":"@@ -0,0 +1,151 @@\n+﻿using ServiceHub.Person.Library.Interfaces;\n+using Microsoft.AspNetCore.Http;\n+using Microsoft.AspNetCore.Mvc;\n+using System;\n+using System.Collections.Generic;\n+using System.Threading.Tasks;\n+\n+namespace ServiceHub.Person.Library.Abstracts\n+{\n+    /// <summary>\n+    /// This is a common controller used by PersonController, ApartmentController, or BatchController\n+    /// </summary>\n+    /// <typeparam name=\"TModel\">Can be any of Person, Apartment, or Batch</typeparam>\n+    [Produces(\"application/json\")]\n+    [Route(\"api\")]\n+    public class AModelController<TModel> : Controller where TModel : IModel","path":"src/ServiceHub.Person.Library/Abstracts/AModelController.cs","position":16,"original_position":16,"commit_id":"66662c0d580c2a1a0e2802f7190cd5584e4b3c5b","original_commit_id":"66662c0d580c2a1a0e2802f7190cd5584e4b3c5b","user":{"login":"fredbelotte","id":22018714,"avatar_url":"https://avatars3.githubusercontent.com/u/22018714?v=4","gravatar_id":"","url":"https://api.github.com/users/fredbelotte","html_url":"https://github.com/fredbelotte","followers_url":"https://api.github.com/users/fredbelotte/followers","following_url":"https://api.github.com/users/fredbelotte/following{/other_user}","gists_url":"https://api.github.com/users/fredbelotte/gists{/gist_id}","starred_url":"https://api.github.com/users/fredbelotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredbelotte/subscriptions","organizations_url":"https://api.github.com/users/fredbelotte/orgs","repos_url":"https://api.github.com/users/fredbelotte/repos","events_url":"https://api.github.com/users/fredbelotte/events{/privacy}","received_events_url":"https://api.github.com/users/fredbelotte/received_events","type":"User","site_admin":false},"body":"not the right place for service controller.","created_at":"2018-05-09T01:57:59Z","updated_at":"2018-05-09T02:01:36Z","html_url":"https://github.com/revaturecloud/servicehub-person/pull/3#discussion_r186913590","pull_request_url":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/comments/186913590"},"html":{"href":"https://github.com/revaturecloud/servicehub-person/pull/3#discussion_r186913590"},"pull_request":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3","id":186736960,"html_url":"https://github.com/revaturecloud/servicehub-person/pull/3","diff_url":"https://github.com/revaturecloud/servicehub-person/pull/3.diff","patch_url":"https://github.com/revaturecloud/servicehub-person/pull/3.patch","issue_url":"https://api.github.com/repos/revaturecloud/servicehub-person/issues/3","number":3,"state":"open","locked":false,"title":"Added Library Models [#157252740]","user":{"login":"frbr1245","id":16887294,"avatar_url":"https://avatars0.githubusercontent.com/u/16887294?v=4","gravatar_id":"","url":"https://api.github.com/users/frbr1245","html_url":"https://github.com/frbr1245","followers_url":"https://api.github.com/users/frbr1245/followers","following_url":"https://api.github.com/users/frbr1245/following{/other_user}","gists_url":"https://api.github.com/users/frbr1245/gists{/gist_id}","starred_url":"https://api.github.com/users/frbr1245/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frbr1245/subscriptions","organizations_url":"https://api.github.com/users/frbr1245/orgs","repos_url":"https://api.github.com/users/frbr1245/repos","events_url":"https://api.github.com/users/frbr1245/events{/privacy}","received_events_url":"https://api.github.com/users/frbr1245/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-08T19:47:34Z","updated_at":"2018-05-09T02:01:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ccbbd0c14d6c8aa6e8384ed3a3ea08b498b033b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":927083515,"url":"https://api.github.com/repos/revaturecloud/servicehub-person/labels/committed","name":"committed","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3/commits","review_comments_url":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3/comments","review_comment_url":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/comments{/number}","comments_url":"https://api.github.com/repos/revaturecloud/servicehub-person/issues/3/comments","statuses_url":"https://api.github.com/repos/revaturecloud/servicehub-person/statuses/66662c0d580c2a1a0e2802f7190cd5584e4b3c5b","head":{"label":"1803-mar12-net:157252740-Wil","ref":"157252740-Wil","sha":"66662c0d580c2a1a0e2802f7190cd5584e4b3c5b","user":{"login":"1803-mar12-net","id":37340919,"avatar_url":"https://avatars3.githubusercontent.com/u/37340919?v=4","gravatar_id":"","url":"https://api.github.com/users/1803-mar12-net","html_url":"https://github.com/1803-mar12-net","followers_url":"https://api.github.com/users/1803-mar12-net/followers","following_url":"https://api.github.com/users/1803-mar12-net/following{/other_user}","gists_url":"https://api.github.com/users/1803-mar12-net/gists{/gist_id}","starred_url":"https://api.github.com/users/1803-mar12-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1803-mar12-net/subscriptions","organizations_url":"https://api.github.com/users/1803-mar12-net/orgs","repos_url":"https://api.github.com/users/1803-mar12-net/repos","events_url":"https://api.github.com/users/1803-mar12-net/events{/privacy}","received_events_url":"https://api.github.com/users/1803-mar12-net/received_events","type":"Organization","site_admin":false},"repo":{"id":131751490,"name":"servicehub-person","full_name":"1803-mar12-net/servicehub-person","owner":{"login":"1803-mar12-net","id":37340919,"avatar_url":"https://avatars3.githubusercontent.com/u/37340919?v=4","gravatar_id":"","url":"https://api.github.com/users/1803-mar12-net","html_url":"https://github.com/1803-mar12-net","followers_url":"https://api.github.com/users/1803-mar12-net/followers","following_url":"https://api.github.com/users/1803-mar12-net/following{/other_user}","gists_url":"https://api.github.com/users/1803-mar12-net/gists{/gist_id}","starred_url":"https://api.github.com/users/1803-mar12-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1803-mar12-net/subscriptions","organizations_url":"https://api.github.com/users/1803-mar12-net/orgs","repos_url":"https://api.github.com/users/1803-mar12-net/repos","events_url":"https://api.github.com/users/1803-mar12-net/events{/privacy}","received_events_url":"https://api.github.com/users/1803-mar12-net/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1803-mar12-net/servicehub-person","description":"the person api.","fork":true,"url":"https://api.github.com/repos/1803-mar12-net/servicehub-person","forks_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/forks","keys_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/teams","hooks_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/hooks","issue_events_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/issues/events{/number}","events_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/events","assignees_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/assignees{/user}","branches_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/branches{/branch}","tags_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/tags","blobs_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/git/refs{/sha}","trees_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/statuses/{sha}","languages_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/languages","stargazers_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/stargazers","contributors_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/contributors","subscribers_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/subscribers","subscription_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/subscription","commits_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/commits{/sha}","git_commits_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/git/commits{/sha}","comments_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/comments{/number}","issue_comment_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/issues/comments{/number}","contents_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/contents/{+path}","compare_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/merges","archive_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/downloads","issues_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/issues{/number}","pulls_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/pulls{/number}","milestones_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/milestones{/number}","notifications_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/labels{/name}","releases_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/releases{/id}","deployments_url":"https://api.github.com/repos/1803-mar12-net/servicehub-person/deployments","created_at":"2018-05-01T18:59:31Z","updated_at":"2018-05-08T19:30:53Z","pushed_at":"2018-05-08T20:56:06Z","git_url":"git://github.com/1803-mar12-net/servicehub-person.git","ssh_url":"git@github.com:1803-mar12-net/servicehub-person.git","clone_url":"https://github.com/1803-mar12-net/servicehub-person.git","svn_url":"https://github.com/1803-mar12-net/servicehub-person","homepage":null,"size":79,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"revaturecloud:master","ref":"master","sha":"85834351ee79d0862f5a455c09ea3e46af01ff34","user":{"login":"revaturecloud","id":36998744,"avatar_url":"https://avatars3.githubusercontent.com/u/36998744?v=4","gravatar_id":"","url":"https://api.github.com/users/revaturecloud","html_url":"https://github.com/revaturecloud","followers_url":"https://api.github.com/users/revaturecloud/followers","following_url":"https://api.github.com/users/revaturecloud/following{/other_user}","gists_url":"https://api.github.com/users/revaturecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/revaturecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revaturecloud/subscriptions","organizations_url":"https://api.github.com/users/revaturecloud/orgs","repos_url":"https://api.github.com/users/revaturecloud/repos","events_url":"https://api.github.com/users/revaturecloud/events{/privacy}","received_events_url":"https://api.github.com/users/revaturecloud/received_events","type":"Organization","site_admin":false},"repo":{"id":131664524,"name":"servicehub-person","full_name":"revaturecloud/servicehub-person","owner":{"login":"revaturecloud","id":36998744,"avatar_url":"https://avatars3.githubusercontent.com/u/36998744?v=4","gravatar_id":"","url":"https://api.github.com/users/revaturecloud","html_url":"https://github.com/revaturecloud","followers_url":"https://api.github.com/users/revaturecloud/followers","following_url":"https://api.github.com/users/revaturecloud/following{/other_user}","gists_url":"https://api.github.com/users/revaturecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/revaturecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revaturecloud/subscriptions","organizations_url":"https://api.github.com/users/revaturecloud/orgs","repos_url":"https://api.github.com/users/revaturecloud/repos","events_url":"https://api.github.com/users/revaturecloud/events{/privacy}","received_events_url":"https://api.github.com/users/revaturecloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/revaturecloud/servicehub-person","description":"the person api.","fork":false,"url":"https://api.github.com/repos/revaturecloud/servicehub-person","forks_url":"https://api.github.com/repos/revaturecloud/servicehub-person/forks","keys_url":"https://api.github.com/repos/revaturecloud/servicehub-person/keys{/key_id}","collaborators_url":"https://api.github.com/repos/revaturecloud/servicehub-person/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/revaturecloud/servicehub-person/teams","hooks_url":"https://api.github.com/repos/revaturecloud/servicehub-person/hooks","issue_events_url":"https://api.github.com/repos/revaturecloud/servicehub-person/issues/events{/number}","events_url":"https://api.github.com/repos/revaturecloud/servicehub-person/events","assignees_url":"https://api.github.com/repos/revaturecloud/servicehub-person/assignees{/user}","branches_url":"https://api.github.com/repos/revaturecloud/servicehub-person/branches{/branch}","tags_url":"https://api.github.com/repos/revaturecloud/servicehub-person/tags","blobs_url":"https://api.github.com/repos/revaturecloud/servicehub-person/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/revaturecloud/servicehub-person/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/revaturecloud/servicehub-person/git/refs{/sha}","trees_url":"https://api.github.com/repos/revaturecloud/servicehub-person/git/trees{/sha}","statuses_url":"https://api.github.com/repos/revaturecloud/servicehub-person/statuses/{sha}","languages_url":"https://api.github.com/repos/revaturecloud/servicehub-person/languages","stargazers_url":"https://api.github.com/repos/revaturecloud/servicehub-person/stargazers","contributors_url":"https://api.github.com/repos/revaturecloud/servicehub-person/contributors","subscribers_url":"https://api.github.com/repos/revaturecloud/servicehub-person/subscribers","subscription_url":"https://api.github.com/repos/revaturecloud/servicehub-person/subscription","commits_url":"https://api.github.com/repos/revaturecloud/servicehub-person/commits{/sha}","git_commits_url":"https://api.github.com/repos/revaturecloud/servicehub-person/git/commits{/sha}","comments_url":"https://api.github.com/repos/revaturecloud/servicehub-person/comments{/number}","issue_comment_url":"https://api.github.com/repos/revaturecloud/servicehub-person/issues/comments{/number}","contents_url":"https://api.github.com/repos/revaturecloud/servicehub-person/contents/{+path}","compare_url":"https://api.github.com/repos/revaturecloud/servicehub-person/compare/{base}...{head}","merges_url":"https://api.github.com/repos/revaturecloud/servicehub-person/merges","archive_url":"https://api.github.com/repos/revaturecloud/servicehub-person/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/revaturecloud/servicehub-person/downloads","issues_url":"https://api.github.com/repos/revaturecloud/servicehub-person/issues{/number}","pulls_url":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls{/number}","milestones_url":"https://api.github.com/repos/revaturecloud/servicehub-person/milestones{/number}","notifications_url":"https://api.github.com/repos/revaturecloud/servicehub-person/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/revaturecloud/servicehub-person/labels{/name}","releases_url":"https://api.github.com/repos/revaturecloud/servicehub-person/releases{/id}","deployments_url":"https://api.github.com/repos/revaturecloud/servicehub-person/deployments","created_at":"2018-05-01T01:30:39Z","updated_at":"2018-05-07T07:14:54Z","pushed_at":"2018-05-09T01:23:23Z","git_url":"git://github.com/revaturecloud/servicehub-person.git","ssh_url":"git@github.com:revaturecloud/servicehub-person.git","clone_url":"https://github.com/revaturecloud/servicehub-person.git","svn_url":"https://github.com/revaturecloud/servicehub-person","homepage":null,"size":30,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3"},"html":{"href":"https://github.com/revaturecloud/servicehub-person/pull/3"},"issue":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/issues/3"},"comments":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/revaturecloud/servicehub-person/statuses/66662c0d580c2a1a0e2802f7190cd5584e4b3c5b"}},"author_association":"NONE"}}
{"actor":{"display_login":"fredbelotte"}}