{"action":"created","comment":{"url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/comments/77556055","id":77556055,"diff_hunk":"@@ -0,0 +1,43 @@\n+﻿using sfe.bll.Exceptions;\n+using sfe.dal;\n+using System;\n+using System.Collections.Generic;\n+using System.Diagnostics;\n+using System.Linq;\n+using System.Text;\n+using System.Threading.Tasks;\n+\n+namespace sfe.bll\n+{\n+    public class AnswerLogic\n+    {\n+        public static List<Answer> Read()\n+        {\n+            try\n+            {\n+                return (from answers in db.Answers\n+                        select answers).ToList();\n+            }\n+            catch (Exception e)\n+            {\n+                EventLog.WriteEntry(\"sfe\", e.StackTrace.ToString(), EventLogEntryType.Error);\n+                throw new AnswerListNotFoundException(\"Answer list not found\");\n+            }\n+        }\n+\n+        private static DataClassesDataContext db = Database.Instance;","path":"sfe.bll/AnswerLogic.cs","position":28,"original_position":28,"commit_id":"cfb362048df9e563fa7fe47ecf295817c6e07985","original_commit_id":"cfb362048df9e563fa7fe47ecf295817c6e07985","user":{"login":"rfrancoch","id":3846886,"avatar_url":"https://avatars.githubusercontent.com/u/3846886?v=3","gravatar_id":"","url":"https://api.github.com/users/rfrancoch","html_url":"https://github.com/rfrancoch","followers_url":"https://api.github.com/users/rfrancoch/followers","following_url":"https://api.github.com/users/rfrancoch/following{/other_user}","gists_url":"https://api.github.com/users/rfrancoch/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrancoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrancoch/subscriptions","organizations_url":"https://api.github.com/users/rfrancoch/orgs","repos_url":"https://api.github.com/users/rfrancoch/repos","events_url":"https://api.github.com/users/rfrancoch/events{/privacy}","received_events_url":"https://api.github.com/users/rfrancoch/received_events","type":"User","site_admin":false},"body":"trata de dejar las propiedades arriba y los métodos abajo, para tener un lugar donde buscarlas","created_at":"2016-09-05T21:20:20Z","updated_at":"2016-09-05T21:20:20Z","html_url":"https://github.com/kescobar-pernix/stein-backend/pull/11#discussion_r77556055","pull_request_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/comments/77556055"},"html":{"href":"https://github.com/kescobar-pernix/stein-backend/pull/11#discussion_r77556055"},"pull_request":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/11","id":84036127,"html_url":"https://github.com/kescobar-pernix/stein-backend/pull/11","diff_url":"https://github.com/kescobar-pernix/stein-backend/pull/11.diff","patch_url":"https://github.com/kescobar-pernix/stein-backend/pull/11.patch","issue_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/11","number":11,"state":"open","locked":false,"title":"Create logic, controller and test for answers","user":{"login":"kescobar-pernix","id":16388062,"avatar_url":"https://avatars.githubusercontent.com/u/16388062?v=3","gravatar_id":"","url":"https://api.github.com/users/kescobar-pernix","html_url":"https://github.com/kescobar-pernix","followers_url":"https://api.github.com/users/kescobar-pernix/followers","following_url":"https://api.github.com/users/kescobar-pernix/following{/other_user}","gists_url":"https://api.github.com/users/kescobar-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobar-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobar-pernix/subscriptions","organizations_url":"https://api.github.com/users/kescobar-pernix/orgs","repos_url":"https://api.github.com/users/kescobar-pernix/repos","events_url":"https://api.github.com/users/kescobar-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/kescobar-pernix/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-05T19:57:26Z","updated_at":"2016-09-05T21:20:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"971c81bb37dc35247fd057f17d9a3fbda32e50c1","assignee":{"login":"rfrancoch","id":3846886,"avatar_url":"https://avatars.githubusercontent.com/u/3846886?v=3","gravatar_id":"","url":"https://api.github.com/users/rfrancoch","html_url":"https://github.com/rfrancoch","followers_url":"https://api.github.com/users/rfrancoch/followers","following_url":"https://api.github.com/users/rfrancoch/following{/other_user}","gists_url":"https://api.github.com/users/rfrancoch/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrancoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrancoch/subscriptions","organizations_url":"https://api.github.com/users/rfrancoch/orgs","repos_url":"https://api.github.com/users/rfrancoch/repos","events_url":"https://api.github.com/users/rfrancoch/events{/privacy}","received_events_url":"https://api.github.com/users/rfrancoch/received_events","type":"User","site_admin":false},"assignees":[{"login":"rfrancoch","id":3846886,"avatar_url":"https://avatars.githubusercontent.com/u/3846886?v=3","gravatar_id":"","url":"https://api.github.com/users/rfrancoch","html_url":"https://github.com/rfrancoch","followers_url":"https://api.github.com/users/rfrancoch/followers","following_url":"https://api.github.com/users/rfrancoch/following{/other_user}","gists_url":"https://api.github.com/users/rfrancoch/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrancoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrancoch/subscriptions","organizations_url":"https://api.github.com/users/rfrancoch/orgs","repos_url":"https://api.github.com/users/rfrancoch/repos","events_url":"https://api.github.com/users/rfrancoch/events{/privacy}","received_events_url":"https://api.github.com/users/rfrancoch/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/11/commits","review_comments_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/11/comments","review_comment_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/11/comments","statuses_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/statuses/cfb362048df9e563fa7fe47ecf295817c6e07985","head":{"label":"kescobar-pernix:save-answers","ref":"save-answers","sha":"cfb362048df9e563fa7fe47ecf295817c6e07985","user":{"login":"kescobar-pernix","id":16388062,"avatar_url":"https://avatars.githubusercontent.com/u/16388062?v=3","gravatar_id":"","url":"https://api.github.com/users/kescobar-pernix","html_url":"https://github.com/kescobar-pernix","followers_url":"https://api.github.com/users/kescobar-pernix/followers","following_url":"https://api.github.com/users/kescobar-pernix/following{/other_user}","gists_url":"https://api.github.com/users/kescobar-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobar-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobar-pernix/subscriptions","organizations_url":"https://api.github.com/users/kescobar-pernix/orgs","repos_url":"https://api.github.com/users/kescobar-pernix/repos","events_url":"https://api.github.com/users/kescobar-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/kescobar-pernix/received_events","type":"User","site_admin":false},"repo":{"id":64881441,"name":"stein-backend","full_name":"kescobar-pernix/stein-backend","owner":{"login":"kescobar-pernix","id":16388062,"avatar_url":"https://avatars.githubusercontent.com/u/16388062?v=3","gravatar_id":"","url":"https://api.github.com/users/kescobar-pernix","html_url":"https://github.com/kescobar-pernix","followers_url":"https://api.github.com/users/kescobar-pernix/followers","following_url":"https://api.github.com/users/kescobar-pernix/following{/other_user}","gists_url":"https://api.github.com/users/kescobar-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobar-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobar-pernix/subscriptions","organizations_url":"https://api.github.com/users/kescobar-pernix/orgs","repos_url":"https://api.github.com/users/kescobar-pernix/repos","events_url":"https://api.github.com/users/kescobar-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/kescobar-pernix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kescobar-pernix/stein-backend","description":null,"fork":false,"url":"https://api.github.com/repos/kescobar-pernix/stein-backend","forks_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/forks","keys_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/teams","hooks_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/hooks","issue_events_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/events{/number}","events_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/events","assignees_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/assignees{/user}","branches_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/branches{/branch}","tags_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/tags","blobs_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/languages","stargazers_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/stargazers","contributors_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/contributors","subscribers_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/subscribers","subscription_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/subscription","commits_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/contents/{+path}","compare_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/merges","archive_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/downloads","issues_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues{/number}","pulls_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/labels{/name}","releases_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/releases{/id}","deployments_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/deployments","created_at":"2016-08-03T21:43:54Z","updated_at":"2016-08-22T14:37:30Z","pushed_at":"2016-09-05T19:57:27Z","git_url":"git://github.com/kescobar-pernix/stein-backend.git","ssh_url":"git@github.com:kescobar-pernix/stein-backend.git","clone_url":"https://github.com/kescobar-pernix/stein-backend.git","svn_url":"https://github.com/kescobar-pernix/stein-backend","homepage":null,"size":19848,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"kescobar-pernix:develop","ref":"develop","sha":"cc3541dad3f1b794728f408a0f000358835e4110","user":{"login":"kescobar-pernix","id":16388062,"avatar_url":"https://avatars.githubusercontent.com/u/16388062?v=3","gravatar_id":"","url":"https://api.github.com/users/kescobar-pernix","html_url":"https://github.com/kescobar-pernix","followers_url":"https://api.github.com/users/kescobar-pernix/followers","following_url":"https://api.github.com/users/kescobar-pernix/following{/other_user}","gists_url":"https://api.github.com/users/kescobar-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobar-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobar-pernix/subscriptions","organizations_url":"https://api.github.com/users/kescobar-pernix/orgs","repos_url":"https://api.github.com/users/kescobar-pernix/repos","events_url":"https://api.github.com/users/kescobar-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/kescobar-pernix/received_events","type":"User","site_admin":false},"repo":{"id":64881441,"name":"stein-backend","full_name":"kescobar-pernix/stein-backend","owner":{"login":"kescobar-pernix","id":16388062,"avatar_url":"https://avatars.githubusercontent.com/u/16388062?v=3","gravatar_id":"","url":"https://api.github.com/users/kescobar-pernix","html_url":"https://github.com/kescobar-pernix","followers_url":"https://api.github.com/users/kescobar-pernix/followers","following_url":"https://api.github.com/users/kescobar-pernix/following{/other_user}","gists_url":"https://api.github.com/users/kescobar-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobar-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobar-pernix/subscriptions","organizations_url":"https://api.github.com/users/kescobar-pernix/orgs","repos_url":"https://api.github.com/users/kescobar-pernix/repos","events_url":"https://api.github.com/users/kescobar-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/kescobar-pernix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kescobar-pernix/stein-backend","description":null,"fork":false,"url":"https://api.github.com/repos/kescobar-pernix/stein-backend","forks_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/forks","keys_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/teams","hooks_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/hooks","issue_events_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/events{/number}","events_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/events","assignees_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/assignees{/user}","branches_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/branches{/branch}","tags_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/tags","blobs_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/languages","stargazers_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/stargazers","contributors_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/contributors","subscribers_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/subscribers","subscription_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/subscription","commits_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/contents/{+path}","compare_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/merges","archive_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/downloads","issues_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues{/number}","pulls_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/labels{/name}","releases_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/releases{/id}","deployments_url":"https://api.github.com/repos/kescobar-pernix/stein-backend/deployments","created_at":"2016-08-03T21:43:54Z","updated_at":"2016-08-22T14:37:30Z","pushed_at":"2016-09-05T19:57:27Z","git_url":"git://github.com/kescobar-pernix/stein-backend.git","ssh_url":"git@github.com:kescobar-pernix/stein-backend.git","clone_url":"https://github.com/kescobar-pernix/stein-backend.git","svn_url":"https://github.com/kescobar-pernix/stein-backend","homepage":null,"size":19848,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/kescobar-pernix/stein-backend/pulls/11"},"html":{"href":"https://github.com/kescobar-pernix/stein-backend/pull/11"},"issue":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/11"},"comments":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/kescobar-pernix/stein-backend/statuses/cfb362048df9e563fa7fe47ecf295817c6e07985"}}}}
{"actor":{"display_login":"rfrancoch"}}