예제 #1
0
        public async Task <IActionResult> Delete(int id)
        {
            var result = await _crewsSrvice.DeleteAsync(id);

            return(Ok());
        }
예제 #2
0
        public async Task <IActionResult> Delete([FromBody] CrewDto entity)
        {
            var result = await _crewsSrvice.DeleteAsync(entity);

            return(Ok());
        }