Exemplo n.º 1
0
        public async Task <IActionResult> Delete([FromBody] StewardessDto entity)
        {
            var result = await _stewardessesSrvice.DeleteAsync(entity);

            return(Ok());
        }
        public async Task <IActionResult> Delete(int id)
        {
            var result = await _stewardessesSrvice.DeleteAsync(id);

            return(Ok());
        }