// POST api/values public HttpResponseMessage Post(UpdateObject input) { BotHandler botHandler = new BotHandler(); botHandler.Process(input); return(new HttpResponseMessage(HttpStatusCode.OK)); }
// POST api/values public HttpResponseMessage Post(UpdateObject input) { try { _botHandler.Process(input); } catch (Exception) { } return(new HttpResponseMessage(HttpStatusCode.OK)); }