{"action":"created","issue":{"url":"https://api.github.com/repos/michelsalib/Gi7/issues/92","labels_url":"https://api.github.com/repos/michelsalib/Gi7/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/michelsalib/Gi7/issues/92/comments","events_url":"https://api.github.com/repos/michelsalib/Gi7/issues/92/events","html_url":"https://github.com/michelsalib/Gi7/issues/92","id":54412944,"number":92,"title":"Use Ninject","user":{"login":"AlbertoMonteiro","id":836496,"avatar_url":"https://avatars.githubusercontent.com/u/836496?v=3","gravatar_id":"","url":"https://api.github.com/users/AlbertoMonteiro","html_url":"https://github.com/AlbertoMonteiro","followers_url":"https://api.github.com/users/AlbertoMonteiro/followers","following_url":"https://api.github.com/users/AlbertoMonteiro/following{/other_user}","gists_url":"https://api.github.com/users/AlbertoMonteiro/gists{/gist_id}","starred_url":"https://api.github.com/users/AlbertoMonteiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlbertoMonteiro/subscriptions","organizations_url":"https://api.github.com/users/AlbertoMonteiro/orgs","repos_url":"https://api.github.com/users/AlbertoMonteiro/repos","events_url":"https://api.github.com/users/AlbertoMonteiro/events{/privacy}","received_events_url":"https://api.github.com/users/AlbertoMonteiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-15T05:03:18Z","updated_at":"2015-01-15T06:23:37Z","closed_at":null,"body":"To have decoupled and testable code we cave to use [Dependency injection principle](http://en.wikipedia.org/wiki/Dependency_inversion_principle).\r\nHow about to use [Ninject](http://www.ninject.org/) to inject classes dependencies.\r\nOctokit use interfaces for almost all objects, after moving to octokit we will have better code to test.\r\nhttp://blog.frederikprijck.net/2013/09/10/dependency-injection-in-a-wpf-mvvm-application-using-ninject/"},"comment":{"url":"https://api.github.com/repos/michelsalib/Gi7/issues/comments/70044859","html_url":"https://github.com/michelsalib/Gi7/issues/92#issuecomment-70044859","issue_url":"https://api.github.com/repos/michelsalib/Gi7/issues/92","id":70044859,"user":{"login":"NPadrutt","id":1764367,"avatar_url":"https://avatars.githubusercontent.com/u/1764367?v=3","gravatar_id":"","url":"https://api.github.com/users/NPadrutt","html_url":"https://github.com/NPadrutt","followers_url":"https://api.github.com/users/NPadrutt/followers","following_url":"https://api.github.com/users/NPadrutt/following{/other_user}","gists_url":"https://api.github.com/users/NPadrutt/gists{/gist_id}","starred_url":"https://api.github.com/users/NPadrutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NPadrutt/subscriptions","organizations_url":"https://api.github.com/users/NPadrutt/orgs","repos_url":"https://api.github.com/users/NPadrutt/repos","events_url":"https://api.github.com/users/NPadrutt/events{/privacy}","received_events_url":"https://api.github.com/users/NPadrutt/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T06:23:37Z","updated_at":"2015-01-15T06:23:37Z","body":"Ah, nice :)"}}