Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteEstabelecimento(int id)
        {
            var estabelecimento = await _estabelecimentoService.GetEstabelecimentoById(id);

            await _estabelecimentoService.DeleteEstabelecimento(estabelecimento);

            return(NoContent());
        }