public async Task LoadData(HttpRequestBase request, HttpResponseBase response) { if (request.HttpMethod != "POST") { return; } response.ContentType = "application/json"; try { String json = null; using (var tr = new StreamReader(request.InputStream)) json = tr.ReadToEnd(); await _baseController.ReloadData(null, json, response.Output); } catch (Exception ex) { _baseController.WriteExceptionStatus(ex, response); } }