{"action":"closed","issue":{"url":"https://api.github.com/repos/code-cracker/code-cracker/issues/486","labels_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/486/comments","events_url":"https://api.github.com/repos/code-cracker/code-cracker/issues/486/events","html_url":"https://github.com/code-cracker/code-cracker/issues/486","id":104071957,"number":486,"title":"CC0091 makes static keyword come before trivia","user":{"login":"ImaginaryDevelopment","id":121276,"avatar_url":"https://avatars.githubusercontent.com/u/121276?v=3","gravatar_id":"","url":"https://api.github.com/users/ImaginaryDevelopment","html_url":"https://github.com/ImaginaryDevelopment","followers_url":"https://api.github.com/users/ImaginaryDevelopment/followers","following_url":"https://api.github.com/users/ImaginaryDevelopment/following{/other_user}","gists_url":"https://api.github.com/users/ImaginaryDevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/ImaginaryDevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ImaginaryDevelopment/subscriptions","organizations_url":"https://api.github.com/users/ImaginaryDevelopment/orgs","repos_url":"https://api.github.com/users/ImaginaryDevelopment/repos","events_url":"https://api.github.com/users/ImaginaryDevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/ImaginaryDevelopment/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/1%20-%20Ready","name":"1 - Ready","color":"CCCCCC"},{"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/C%23","name":"C#","color":"5319e7"},{"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/code-fix","name":"code-fix","color":"207de5"},{"url":"https://api.github.com/repos/code-cracker/code-cracker/labels/up-for-grabs","name":"up-for-grabs","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/code-cracker/code-cracker/milestones/10","html_url":"https://github.com/code-cracker/code-cracker/milestones/1.0.0","labels_url":"https://api.github.com/repos/code-cracker/code-cracker/milestones/10/labels","id":1262883,"number":10,"title":"1.0.0","description":"","creator":{"login":"giggio","id":334958,"avatar_url":"https://avatars.githubusercontent.com/u/334958?v=3","gravatar_id":"","url":"https://api.github.com/users/giggio","html_url":"https://github.com/giggio","followers_url":"https://api.github.com/users/giggio/followers","following_url":"https://api.github.com/users/giggio/following{/other_user}","gists_url":"https://api.github.com/users/giggio/gists{/gist_id}","starred_url":"https://api.github.com/users/giggio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giggio/subscriptions","organizations_url":"https://api.github.com/users/giggio/orgs","repos_url":"https://api.github.com/users/giggio/repos","events_url":"https://api.github.com/users/giggio/events{/privacy}","received_events_url":"https://api.github.com/users/giggio/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":12,"state":"open","created_at":"2015-08-19T16:17:14Z","updated_at":"2015-09-19T21:46:55Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-31T15:06:24Z","updated_at":"2015-09-19T21:46:55Z","closed_at":"2015-09-19T21:46:55Z","body":"![image](https://cloud.githubusercontent.com/assets/121276/9581909/28c0815c-4fd0-11e5-8ee0-4ec6d28d9e9e.png)\r\n\r\n```\r\n#endregion\r\n\r\n        void LoadPatientData(AppointmentDataModel appointment)\r\n        {\r\n            if (appointment == null)\r\n                return;\r\n\r\n            int patientID = appointment.Patient.PatientID;\r\n\r\n            var patientDM = PatientDataAccess.LoadPatientByPatientID(patientID, ApplicationVariables.ConnectionStrings.ApplicationConfigurationConnectionString);\r\n\r\n            var patient = appointment.Patient;\r\n\r\n            patient.LastName = patientDM.LastName;\r\n            patient.FirstName = patientDM.FirstName;\r\n            patient.Gender = patientDM.Gender;\r\n            patient.DOB = patientDM.DOB;\r\n            patient.Identifier = patientDM.Identifier;\r\n            patient.PrimaryPhone = patientDM.PrimaryPhone;\r\n            patient.PrimaryPhoneCanLeaveMessage = patientDM.PrimaryPhoneCanLeaveMessage;\r\n            patient.Address1 = patientDM.Address1;\r\n            patient.Address2 = patientDM.Address2;\r\n            patient.City = patientDM.City;\r\n            patient.State = patientDM.State;\r\n            patient.Zip = patientDM.Zip;\r\n\r\n\r\n        }\r\n```\r\n\r\nbecomes\r\n\r\n```\r\n        static\r\n\r\n        #endregion\r\n\r\n                void LoadPatientData(AppointmentDataModel appointment)\r\n        {\r\n            if (appointment == null)\r\n                return;\r\n\r\n            int patientID = appointment.Patient.PatientID;\r\n\r\n            var patientDM = PatientDataAccess.LoadPatientByPatientID(patientID, ApplicationVariables.ConnectionStrings.ApplicationConfigurationConnectionString);\r\n\r\n            var patient = appointment.Patient;\r\n\r\n            patient.LastName = patientDM.LastName;\r\n            patient.FirstName = patientDM.FirstName;\r\n            patient.Gender = patientDM.Gender;\r\n            patient.DOB = patientDM.DOB;\r\n            patient.Identifier = patientDM.Identifier;\r\n            patient.PrimaryPhone = patientDM.PrimaryPhone;\r\n            patient.PrimaryPhoneCanLeaveMessage = patientDM.PrimaryPhoneCanLeaveMessage;\r\n            patient.Address1 = patientDM.Address1;\r\n            patient.Address2 = patientDM.Address2;\r\n            patient.City = patientDM.City;\r\n            patient.State = patientDM.State;\r\n            patient.Zip = patientDM.Zip;\r\n\r\n\r\n        }\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/121276/9581922/3a3a325c-4fd0-11e5-94f0-aaa3f248a075.png)"}}