public async Task <TableCreate> CreateTable(string database, string table, Table hTable) { if (string.IsNullOrEmpty(database)) { throw new Exception("database is required."); } if (string.IsNullOrEmpty(table)) { throw new Exception("table is required."); } TableCreate tableCreate = await Put <TableCreate>(_webHcatBaseUrl, _webHCatVersion, _webHCatUserName, requestURL.CreateTable(database, table), hTable); return(tableCreate); }