{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/module-zero/issues/83","labels_url":"https://api.github.com/repos/aspnetboilerplate/module-zero/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/module-zero/issues/83/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/module-zero/issues/83/events","html_url":"https://github.com/aspnetboilerplate/module-zero/issues/83","id":89682331,"number":83,"title":"How Create Tenant And Get Id ?","user":{"login":"mona6767","id":1578888,"avatar_url":"https://avatars.githubusercontent.com/u/1578888?v=3","gravatar_id":"","url":"https://api.github.com/users/mona6767","html_url":"https://github.com/mona6767","followers_url":"https://api.github.com/users/mona6767/followers","following_url":"https://api.github.com/users/mona6767/following{/other_user}","gists_url":"https://api.github.com/users/mona6767/gists{/gist_id}","starred_url":"https://api.github.com/users/mona6767/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mona6767/subscriptions","organizations_url":"https://api.github.com/users/mona6767/orgs","repos_url":"https://api.github.com/users/mona6767/repos","events_url":"https://api.github.com/users/mona6767/events{/privacy}","received_events_url":"https://api.github.com/users/mona6767/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-19T23:31:52Z","updated_at":"2015-06-20T14:37:34Z","closed_at":null,"body":"Hi\r\n\r\nBest Regard ,\r\n\r\nhow Create Tenant,And Get Id ,like \"InsertAndGetIdAsync\" ?\r\n\r\nl want create Tenant and get id for inset in other tables in One Method in MyAppService !\r\n\r\nPlease Help Me.\r\n\r\nvery thank you ."},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/module-zero/issues/comments/113775957","html_url":"https://github.com/aspnetboilerplate/module-zero/issues/83#issuecomment-113775957","issue_url":"https://api.github.com/repos/aspnetboilerplate/module-zero/issues/83","id":113775957,"user":{"login":"mona6767","id":1578888,"avatar_url":"https://avatars.githubusercontent.com/u/1578888?v=3","gravatar_id":"","url":"https://api.github.com/users/mona6767","html_url":"https://github.com/mona6767","followers_url":"https://api.github.com/users/mona6767/followers","following_url":"https://api.github.com/users/mona6767/following{/other_user}","gists_url":"https://api.github.com/users/mona6767/gists{/gist_id}","starred_url":"https://api.github.com/users/mona6767/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mona6767/subscriptions","organizations_url":"https://api.github.com/users/mona6767/orgs","repos_url":"https://api.github.com/users/mona6767/repos","events_url":"https://api.github.com/users/mona6767/events{/privacy}","received_events_url":"https://api.github.com/users/mona6767/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T14:37:34Z","updated_at":"2015-06-20T14:37:34Z","body":" public class Tenant : AbpTenant<Tenant, User>\r\n    {\r\n\r\n        [ForeignKey(\"TenantId\")]\r\n        public virtual TenantInfo Info { get; set; }\r\n        public override string ToString()\r\n        {\r\n            return string.Format(\"[Tenant {0}] {1}\", Id, TenancyName);\r\n        }\r\n\r\n        protected Tenant()\r\n        {\r\n\r\n        }\r\n\r\n        public Tenant(string tenancyName, string name)\r\n            : base(tenancyName, name)\r\n        {\r\n\r\n\r\n        }\r\n    }"}}