{"action":"created","comment":{"url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/comments/242496605","pull_request_review_id":186017476,"id":242496605,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjQ5NjYwNQ==","diff_hunk":"@@ -0,0 +1,51 @@\n+﻿using GiTinder.Models;\n+using Microsoft.EntityFrameworkCore;\n+using System.Collections.Generic;\n+\n+namespace GiTinder.Data\n+{\n+    public class GiTinderContext : DbContext\n+    {\n+        public DbSet<Settings> Settings { get; set; }\n+        public DbSet<User> Users { get; set; }\n+\n+        //this.Configuration.AutoDetectChangesEnabled = false;\n+\n+       \n+\n+        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)\n+        {\n+            optionsBuilder.UseMySQL(\"server=localhost;database=gitinder;user=root;password=1234\");\n+            base.OnConfiguring(optionsBuilder);\n+        }\n+    }\n+}\n+\n+//List<string> list = new List<string>();\n+//User user1 = new User();\n+//User user2 = new User();\n+\n+//user1.UserName = \"Filip Teply\";\n+//    user2.UserName = \"Jonathan Bonnin\";\n+\n+//    GiTinderContext context = new GiTinderContext();\n+//context.Users.Add(user1);\n+//    context.Users.Add(user2);\n+//    context.SaveChanges();\n+\n+//    list.Add(item: user1.UserName);\n+//    list.Add(item: user2.UserName);\n+\n+\n+\n+//public void SaveSettings(Settings settings)\n+//{\n+//    if (settings.IsValid)\n+//    {\n+//        GiTinderContext context = new GiTinderContext();\n+//        context.Settings.Add(settings);\n+//        context.SaveChanges();\n+//    }\n+\n+\n+//}","path":"GiTinder/Data/GiTinderContext.cs","position":51,"original_position":51,"commit_id":"3b4d7b82ea628aa95ac27f6b846cbb013e0f89f9","original_commit_id":"3b4d7b82ea628aa95ac27f6b846cbb013e0f89f9","user":{"login":"FilipTeply","id":39955364,"node_id":"MDQ6VXNlcjM5OTU1MzY0","avatar_url":"https://avatars0.githubusercontent.com/u/39955364?v=4","gravatar_id":"","url":"https://api.github.com/users/FilipTeply","html_url":"https://github.com/FilipTeply","followers_url":"https://api.github.com/users/FilipTeply/followers","following_url":"https://api.github.com/users/FilipTeply/following{/other_user}","gists_url":"https://api.github.com/users/FilipTeply/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipTeply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipTeply/subscriptions","organizations_url":"https://api.github.com/users/FilipTeply/orgs","repos_url":"https://api.github.com/users/FilipTeply/repos","events_url":"https://api.github.com/users/FilipTeply/events{/privacy}","received_events_url":"https://api.github.com/users/FilipTeply/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-12-18T11:14:28Z","updated_at":"2018-12-18T11:14:28Z","html_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend/pull/6#discussion_r242496605","pull_request_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/comments/242496605"},"html":{"href":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend/pull/6#discussion_r242496605"},"pull_request":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6"}},"in_reply_to_id":242460101},"pull_request":{"url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6","id":239204549,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MjA0NTQ5","html_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend/pull/6","diff_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend/pull/6.diff","patch_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend/pull/6.patch","issue_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/6","number":6,"state":"open","locked":false,"title":"Filip","user":{"login":"FilipTeply","id":39955364,"node_id":"MDQ6VXNlcjM5OTU1MzY0","avatar_url":"https://avatars0.githubusercontent.com/u/39955364?v=4","gravatar_id":"","url":"https://api.github.com/users/FilipTeply","html_url":"https://github.com/FilipTeply","followers_url":"https://api.github.com/users/FilipTeply/followers","following_url":"https://api.github.com/users/FilipTeply/following{/other_user}","gists_url":"https://api.github.com/users/FilipTeply/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipTeply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipTeply/subscriptions","organizations_url":"https://api.github.com/users/FilipTeply/orgs","repos_url":"https://api.github.com/users/FilipTeply/repos","events_url":"https://api.github.com/users/FilipTeply/events{/privacy}","received_events_url":"https://api.github.com/users/FilipTeply/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-17T16:24:50Z","updated_at":"2018-12-18T11:14:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6/commits","review_comments_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6/comments","review_comment_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/6/comments","statuses_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/statuses/3b4d7b82ea628aa95ac27f6b846cbb013e0f89f9","head":{"label":"green-fox-academy:Filip","ref":"Filip","sha":"3b4d7b82ea628aa95ac27f6b846cbb013e0f89f9","user":{"login":"green-fox-academy","id":14247612,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQ3NjEy","avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/green-fox-academy","html_url":"https://github.com/green-fox-academy","followers_url":"https://api.github.com/users/green-fox-academy/followers","following_url":"https://api.github.com/users/green-fox-academy/following{/other_user}","gists_url":"https://api.github.com/users/green-fox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/green-fox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/green-fox-academy/subscriptions","organizations_url":"https://api.github.com/users/green-fox-academy/orgs","repos_url":"https://api.github.com/users/green-fox-academy/repos","events_url":"https://api.github.com/users/green-fox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/green-fox-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":161306334,"node_id":"MDEwOlJlcG9zaXRvcnkxNjEzMDYzMzQ=","name":"Vulpes-Gitinder-Backend","full_name":"green-fox-academy/Vulpes-Gitinder-Backend","private":false,"owner":{"login":"green-fox-academy","id":14247612,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQ3NjEy","avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/green-fox-academy","html_url":"https://github.com/green-fox-academy","followers_url":"https://api.github.com/users/green-fox-academy/followers","following_url":"https://api.github.com/users/green-fox-academy/following{/other_user}","gists_url":"https://api.github.com/users/green-fox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/green-fox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/green-fox-academy/subscriptions","organizations_url":"https://api.github.com/users/green-fox-academy/orgs","repos_url":"https://api.github.com/users/green-fox-academy/repos","events_url":"https://api.github.com/users/green-fox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/green-fox-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend","description":"VGB","fork":false,"url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend","forks_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/forks","keys_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/teams","hooks_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/hooks","issue_events_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/events{/number}","events_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/events","assignees_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/assignees{/user}","branches_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/branches{/branch}","tags_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/tags","blobs_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/statuses/{sha}","languages_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/languages","stargazers_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/stargazers","contributors_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/contributors","subscribers_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/subscribers","subscription_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/subscription","commits_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/contents/{+path}","compare_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/merges","archive_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/downloads","issues_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues{/number}","pulls_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls{/number}","milestones_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/milestones{/number}","notifications_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/labels{/name}","releases_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/releases{/id}","deployments_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/deployments","created_at":"2018-12-11T09:02:53Z","updated_at":"2018-12-12T10:21:29Z","pushed_at":"2018-12-18T10:26:03Z","git_url":"git://github.com/green-fox-academy/Vulpes-Gitinder-Backend.git","ssh_url":"git@github.com:green-fox-academy/Vulpes-Gitinder-Backend.git","clone_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend.git","svn_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend","homepage":null,"size":72,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"green-fox-academy:master","ref":"master","sha":"e916d20cb587a400cd965b95b8446a85d2571466","user":{"login":"green-fox-academy","id":14247612,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQ3NjEy","avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/green-fox-academy","html_url":"https://github.com/green-fox-academy","followers_url":"https://api.github.com/users/green-fox-academy/followers","following_url":"https://api.github.com/users/green-fox-academy/following{/other_user}","gists_url":"https://api.github.com/users/green-fox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/green-fox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/green-fox-academy/subscriptions","organizations_url":"https://api.github.com/users/green-fox-academy/orgs","repos_url":"https://api.github.com/users/green-fox-academy/repos","events_url":"https://api.github.com/users/green-fox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/green-fox-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":161306334,"node_id":"MDEwOlJlcG9zaXRvcnkxNjEzMDYzMzQ=","name":"Vulpes-Gitinder-Backend","full_name":"green-fox-academy/Vulpes-Gitinder-Backend","private":false,"owner":{"login":"green-fox-academy","id":14247612,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjQ3NjEy","avatar_url":"https://avatars2.githubusercontent.com/u/14247612?v=4","gravatar_id":"","url":"https://api.github.com/users/green-fox-academy","html_url":"https://github.com/green-fox-academy","followers_url":"https://api.github.com/users/green-fox-academy/followers","following_url":"https://api.github.com/users/green-fox-academy/following{/other_user}","gists_url":"https://api.github.com/users/green-fox-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/green-fox-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/green-fox-academy/subscriptions","organizations_url":"https://api.github.com/users/green-fox-academy/orgs","repos_url":"https://api.github.com/users/green-fox-academy/repos","events_url":"https://api.github.com/users/green-fox-academy/events{/privacy}","received_events_url":"https://api.github.com/users/green-fox-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend","description":"VGB","fork":false,"url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend","forks_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/forks","keys_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/teams","hooks_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/hooks","issue_events_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/events{/number}","events_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/events","assignees_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/assignees{/user}","branches_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/branches{/branch}","tags_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/tags","blobs_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/statuses/{sha}","languages_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/languages","stargazers_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/stargazers","contributors_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/contributors","subscribers_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/subscribers","subscription_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/subscription","commits_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/contents/{+path}","compare_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/merges","archive_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/downloads","issues_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues{/number}","pulls_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls{/number}","milestones_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/milestones{/number}","notifications_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/labels{/name}","releases_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/releases{/id}","deployments_url":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/deployments","created_at":"2018-12-11T09:02:53Z","updated_at":"2018-12-12T10:21:29Z","pushed_at":"2018-12-18T10:26:03Z","git_url":"git://github.com/green-fox-academy/Vulpes-Gitinder-Backend.git","ssh_url":"git@github.com:green-fox-academy/Vulpes-Gitinder-Backend.git","clone_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend.git","svn_url":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend","homepage":null,"size":72,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6"},"html":{"href":"https://github.com/green-fox-academy/Vulpes-Gitinder-Backend/pull/6"},"issue":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/6"},"comments":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/green-fox-academy/Vulpes-Gitinder-Backend/statuses/3b4d7b82ea628aa95ac27f6b846cbb013e0f89f9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"FilipTeply"}}