public async Task <HttpResponseMessage> signalRPushPost(Post post) { Post data = post; try { ApiResponseModel <Post> model = new ApiResponseModel <Post>() { }; model.data.records = data; MessagingHub.sendPost(data); return(Response.Success <Post>(model)); } catch (Exception ex) { return(Response.Exception(ex)); } }