public async Task <IActionResult> Delete(int id)
        {
            var result = await _departuresSrvice.DeleteAsync(id);

            return(Ok());
        }
示例#2
0
        public async Task <IActionResult> Delete([FromBody] DepartureDto entity)
        {
            var result = await _departuresSrvice.DeleteAsync(entity);

            return(Ok());
        }