Beispiel #1
0
        public async Task <IActionResult> Delete(string id)
        {
            try
            {
                await _tenant.Delete(id);

                return(Ok("Data berhasil didelete"));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }
        }