Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteTourDetails(int id)
        {
            if (await TourDetailsExists(id))
            {
                await _repository.DeleteTourDetails(id);

                return(NoContent());
            }
            else
            {
                return(NotFound());
            }
        }