public async Task <ActionResult <ResponseResult> > Post([FromBody] DatastoreRequestMessage request) { string user = request.user; string datastoreName = request.datastoreName; if (!dsManager.CreateDataStore(user, datastoreName)) { ResponseResult msg = new ResponseResult(); msg.success = false; msg.responseMessage = "Datastore " + datastoreName + " have existed, please use another name.\n"; return(Ok(msg)); } else { ResponseResult msg = new ResponseResult(); msg.success = true; msg.responseMessage = "Datastore " + datastoreName + " have been created.\n"; return(Ok(msg)); } }