{"action":"created","issue":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/856","repository_url":"https://api.github.com/repos/volkanceylan/Serenity","labels_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/856/labels{/name}","comments_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/856/comments","events_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/856/events","html_url":"https://github.com/volkanceylan/Serenity/issues/856","id":163392602,"number":856,"title":"Best Place to put business logic using serenity","user":{"login":"mrajalko","id":18166582,"avatar_url":"https://avatars.githubusercontent.com/u/18166582?v=3","gravatar_id":"","url":"https://api.github.com/users/mrajalko","html_url":"https://github.com/mrajalko","followers_url":"https://api.github.com/users/mrajalko/followers","following_url":"https://api.github.com/users/mrajalko/following{/other_user}","gists_url":"https://api.github.com/users/mrajalko/gists{/gist_id}","starred_url":"https://api.github.com/users/mrajalko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrajalko/subscriptions","organizations_url":"https://api.github.com/users/mrajalko/orgs","repos_url":"https://api.github.com/users/mrajalko/repos","events_url":"https://api.github.com/users/mrajalko/events{/privacy}","received_events_url":"https://api.github.com/users/mrajalko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-01T13:10:47Z","updated_at":"2016-07-01T13:54:23Z","closed_at":null,"body":"What is best place to put business logic during saving of a record.\r\n\r\nIs it in endpoints or in services.\r\n\r\nFor Example before raising a new bill for a customer we want to check already unpaid balance and if it beyond a certain limit, we would like to deny further billing till the payments for old bills are settled."},"comment":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/comments/229952910","html_url":"https://github.com/volkanceylan/Serenity/issues/856#issuecomment-229952910","issue_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/856","id":229952910,"user":{"login":"mrajalko","id":18166582,"avatar_url":"https://avatars.githubusercontent.com/u/18166582?v=3","gravatar_id":"","url":"https://api.github.com/users/mrajalko","html_url":"https://github.com/mrajalko","followers_url":"https://api.github.com/users/mrajalko/followers","following_url":"https://api.github.com/users/mrajalko/following{/other_user}","gists_url":"https://api.github.com/users/mrajalko/gists{/gist_id}","starred_url":"https://api.github.com/users/mrajalko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrajalko/subscriptions","organizations_url":"https://api.github.com/users/mrajalko/orgs","repos_url":"https://api.github.com/users/mrajalko/repos","events_url":"https://api.github.com/users/mrajalko/events{/privacy}","received_events_url":"https://api.github.com/users/mrajalko/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T13:54:23Z","updated_at":"2016-07-01T13:54:23Z","body":"Can you please elaborate by giving some example (sample code)"}}
{"actor":{"display_login":"mrajalko"}}