public async Task<JsonResult> CreateAsync()
{
var inbox = InboxEntity.Create();
this.InboxTable.AddObject(inbox);
await this.InboxTable.SaveChangesWithMergeAsync(inbox);
string messageReceivingEndpoint = this.GetAbsoluteUrlForAction("Slot", new { id = inbox.RowKey }).AbsoluteUri;
var result = new InboxCreationResponse
{
MessageReceivingEndpoint = messageReceivingEndpoint,
InboxOwnerCode = inbox.InboxOwnerCode,
};
return new JsonResult { Data = result };
}