public async Task <IActionResult> Post([FromBody] Tenant tenant) { try { await _tenant.CreateAsync(tenant); return(Ok("Tambah Data Tenant Berhasil")); } catch (Exception ex) { return(BadRequest(ex.Message)); } }