{"action":"created","comment":{"url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/comments/218001992","pull_request_review_id":155842380,"id":218001992,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODAwMTk5Mg==","diff_hunk":"@@ -1,17 +1,20 @@\n-﻿using Mapster;\n+﻿using System;\n+using Mapster;\n using System.Linq;\n using System.Collections.Generic;\n using System.Threading.Tasks;\n using ITechArt.StudentsLab.BusinessLayer.Models;\n using ITechArt.StudentsLab.BusinessLayer.Contracts;\n-using System;\n+using ITechArt.StudentsLab.Common;\n using ITechArt.StudentsLab.DataAccessLayer.Entities;\n using ITechArt.StudentsLab.DataAccessLayer.Contracts;\n \n namespace ITechArt.StudentsLab.BusinessLayer.Services\n {\n     public class ExternalEmployeeService : IExternalEmployeeService\n     {\n+        private static readonly string[] adminRanks = new string[] { \"Department Manager \", \"Group Manager \", \"HR manager \" };","path":"ITechArt.StudentsLab.BusinessLayer/Services/ExternalEmployeeService.cs","position":18,"original_position":18,"commit_id":"4cdd9ce0a36e51fa20a2561a623f382ceb3a6ec7","original_commit_id":"4cdd9ce0a36e51fa20a2561a623f382ceb3a6ec7","user":{"login":"AndreiShenets","id":5890759,"node_id":"MDQ6VXNlcjU4OTA3NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5890759?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreiShenets","html_url":"https://github.com/AndreiShenets","followers_url":"https://api.github.com/users/AndreiShenets/followers","following_url":"https://api.github.com/users/AndreiShenets/following{/other_user}","gists_url":"https://api.github.com/users/AndreiShenets/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreiShenets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreiShenets/subscriptions","organizations_url":"https://api.github.com/users/AndreiShenets/orgs","repos_url":"https://api.github.com/users/AndreiShenets/repos","events_url":"https://api.github.com/users/AndreiShenets/events{/privacy}","received_events_url":"https://api.github.com/users/AndreiShenets/received_events","type":"User","site_admin":false},"body":"private fields has to begun with underscore: _adminRanks","created_at":"2018-09-17T09:30:59Z","updated_at":"2018-09-17T09:32:18Z","html_url":"https://github.com/Songsterr99/ItechArtSchedule/pull/15#discussion_r218001992","pull_request_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/comments/218001992"},"html":{"href":"https://github.com/Songsterr99/ItechArtSchedule/pull/15#discussion_r218001992"},"pull_request":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15","id":215509079,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NTA5MDc5","html_url":"https://github.com/Songsterr99/ItechArtSchedule/pull/15","diff_url":"https://github.com/Songsterr99/ItechArtSchedule/pull/15.diff","patch_url":"https://github.com/Songsterr99/ItechArtSchedule/pull/15.patch","issue_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/15","number":15,"state":"open","locked":false,"title":"Develop login and roles check","user":{"login":"Songsterr99","id":22427835,"node_id":"MDQ6VXNlcjIyNDI3ODM1","avatar_url":"https://avatars2.githubusercontent.com/u/22427835?v=4","gravatar_id":"","url":"https://api.github.com/users/Songsterr99","html_url":"https://github.com/Songsterr99","followers_url":"https://api.github.com/users/Songsterr99/followers","following_url":"https://api.github.com/users/Songsterr99/following{/other_user}","gists_url":"https://api.github.com/users/Songsterr99/gists{/gist_id}","starred_url":"https://api.github.com/users/Songsterr99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Songsterr99/subscriptions","organizations_url":"https://api.github.com/users/Songsterr99/orgs","repos_url":"https://api.github.com/users/Songsterr99/repos","events_url":"https://api.github.com/users/Songsterr99/events{/privacy}","received_events_url":"https://api.github.com/users/Songsterr99/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-14T07:48:51Z","updated_at":"2018-09-17T09:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e335045f9cb9ec978db796de1b4897dddda2f003","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/15/comments","statuses_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/statuses/4cdd9ce0a36e51fa20a2561a623f382ceb3a6ec7","head":{"label":"Songsterr99:developLogin","ref":"developLogin","sha":"4cdd9ce0a36e51fa20a2561a623f382ceb3a6ec7","user":{"login":"Songsterr99","id":22427835,"node_id":"MDQ6VXNlcjIyNDI3ODM1","avatar_url":"https://avatars2.githubusercontent.com/u/22427835?v=4","gravatar_id":"","url":"https://api.github.com/users/Songsterr99","html_url":"https://github.com/Songsterr99","followers_url":"https://api.github.com/users/Songsterr99/followers","following_url":"https://api.github.com/users/Songsterr99/following{/other_user}","gists_url":"https://api.github.com/users/Songsterr99/gists{/gist_id}","starred_url":"https://api.github.com/users/Songsterr99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Songsterr99/subscriptions","organizations_url":"https://api.github.com/users/Songsterr99/orgs","repos_url":"https://api.github.com/users/Songsterr99/repos","events_url":"https://api.github.com/users/Songsterr99/events{/privacy}","received_events_url":"https://api.github.com/users/Songsterr99/received_events","type":"User","site_admin":false},"repo":{"id":139721395,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk3MjEzOTU=","name":"ItechArtSchedule","full_name":"Songsterr99/ItechArtSchedule","private":false,"owner":{"login":"Songsterr99","id":22427835,"node_id":"MDQ6VXNlcjIyNDI3ODM1","avatar_url":"https://avatars2.githubusercontent.com/u/22427835?v=4","gravatar_id":"","url":"https://api.github.com/users/Songsterr99","html_url":"https://github.com/Songsterr99","followers_url":"https://api.github.com/users/Songsterr99/followers","following_url":"https://api.github.com/users/Songsterr99/following{/other_user}","gists_url":"https://api.github.com/users/Songsterr99/gists{/gist_id}","starred_url":"https://api.github.com/users/Songsterr99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Songsterr99/subscriptions","organizations_url":"https://api.github.com/users/Songsterr99/orgs","repos_url":"https://api.github.com/users/Songsterr99/repos","events_url":"https://api.github.com/users/Songsterr99/events{/privacy}","received_events_url":"https://api.github.com/users/Songsterr99/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Songsterr99/ItechArtSchedule","description":null,"fork":false,"url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule","forks_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/forks","keys_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/teams","hooks_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/hooks","issue_events_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/events{/number}","events_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/events","assignees_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/assignees{/user}","branches_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/branches{/branch}","tags_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/tags","blobs_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/refs{/sha}","trees_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/statuses/{sha}","languages_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/languages","stargazers_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/stargazers","contributors_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/contributors","subscribers_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/subscribers","subscription_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/subscription","commits_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/commits{/sha}","git_commits_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/commits{/sha}","comments_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/comments{/number}","issue_comment_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/comments{/number}","contents_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/contents/{+path}","compare_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/merges","archive_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/downloads","issues_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues{/number}","pulls_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls{/number}","milestones_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/milestones{/number}","notifications_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/labels{/name}","releases_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/releases{/id}","deployments_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/deployments","created_at":"2018-07-04T12:48:57Z","updated_at":"2018-09-05T09:05:56Z","pushed_at":"2018-09-17T09:22:34Z","git_url":"git://github.com/Songsterr99/ItechArtSchedule.git","ssh_url":"git@github.com:Songsterr99/ItechArtSchedule.git","clone_url":"https://github.com/Songsterr99/ItechArtSchedule.git","svn_url":"https://github.com/Songsterr99/ItechArtSchedule","homepage":null,"size":802,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Songsterr99:master","ref":"master","sha":"02238e219a96a2fa83447335c766ab6ab45fa33d","user":{"login":"Songsterr99","id":22427835,"node_id":"MDQ6VXNlcjIyNDI3ODM1","avatar_url":"https://avatars2.githubusercontent.com/u/22427835?v=4","gravatar_id":"","url":"https://api.github.com/users/Songsterr99","html_url":"https://github.com/Songsterr99","followers_url":"https://api.github.com/users/Songsterr99/followers","following_url":"https://api.github.com/users/Songsterr99/following{/other_user}","gists_url":"https://api.github.com/users/Songsterr99/gists{/gist_id}","starred_url":"https://api.github.com/users/Songsterr99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Songsterr99/subscriptions","organizations_url":"https://api.github.com/users/Songsterr99/orgs","repos_url":"https://api.github.com/users/Songsterr99/repos","events_url":"https://api.github.com/users/Songsterr99/events{/privacy}","received_events_url":"https://api.github.com/users/Songsterr99/received_events","type":"User","site_admin":false},"repo":{"id":139721395,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk3MjEzOTU=","name":"ItechArtSchedule","full_name":"Songsterr99/ItechArtSchedule","private":false,"owner":{"login":"Songsterr99","id":22427835,"node_id":"MDQ6VXNlcjIyNDI3ODM1","avatar_url":"https://avatars2.githubusercontent.com/u/22427835?v=4","gravatar_id":"","url":"https://api.github.com/users/Songsterr99","html_url":"https://github.com/Songsterr99","followers_url":"https://api.github.com/users/Songsterr99/followers","following_url":"https://api.github.com/users/Songsterr99/following{/other_user}","gists_url":"https://api.github.com/users/Songsterr99/gists{/gist_id}","starred_url":"https://api.github.com/users/Songsterr99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Songsterr99/subscriptions","organizations_url":"https://api.github.com/users/Songsterr99/orgs","repos_url":"https://api.github.com/users/Songsterr99/repos","events_url":"https://api.github.com/users/Songsterr99/events{/privacy}","received_events_url":"https://api.github.com/users/Songsterr99/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Songsterr99/ItechArtSchedule","description":null,"fork":false,"url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule","forks_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/forks","keys_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/teams","hooks_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/hooks","issue_events_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/events{/number}","events_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/events","assignees_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/assignees{/user}","branches_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/branches{/branch}","tags_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/tags","blobs_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/refs{/sha}","trees_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/statuses/{sha}","languages_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/languages","stargazers_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/stargazers","contributors_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/contributors","subscribers_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/subscribers","subscription_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/subscription","commits_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/commits{/sha}","git_commits_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/git/commits{/sha}","comments_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/comments{/number}","issue_comment_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/comments{/number}","contents_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/contents/{+path}","compare_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/merges","archive_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/downloads","issues_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues{/number}","pulls_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls{/number}","milestones_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/milestones{/number}","notifications_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/labels{/name}","releases_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/releases{/id}","deployments_url":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/deployments","created_at":"2018-07-04T12:48:57Z","updated_at":"2018-09-05T09:05:56Z","pushed_at":"2018-09-17T09:22:34Z","git_url":"git://github.com/Songsterr99/ItechArtSchedule.git","ssh_url":"git@github.com:Songsterr99/ItechArtSchedule.git","clone_url":"https://github.com/Songsterr99/ItechArtSchedule.git","svn_url":"https://github.com/Songsterr99/ItechArtSchedule","homepage":null,"size":802,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15"},"html":{"href":"https://github.com/Songsterr99/ItechArtSchedule/pull/15"},"issue":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/15"},"comments":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Songsterr99/ItechArtSchedule/statuses/4cdd9ce0a36e51fa20a2561a623f382ceb3a6ec7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"AndreiShenets"}}