public ValueTask CreateTableIfNotExistsAsync(CreateTableGrpcRequest reqContract)
 {
     _dbTablesList.CreateIfNotExists(reqContract.TableName.ToLower());
     return(new ValueTask());
 }
Exemplo n.º 2
0
        public TableModel CreateIfNotExists([FromQuery] string tableName)
        {
            var table = _dbTablesList.CreateIfNotExists(tableName);

            return(TableModel.Create(table));
        }