public async Task <IHttpActionResult> CreateIndex() { var manager = new IndexManager(); try { await manager.CreateAsync(); return(Ok()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public async Task <IHttpActionResult> CreateIndex() { var manager = new IndexManager(); try { await manager.CreateAsync(); return(Ok()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }