public async Task GetBookingTournamentByIdAsync_InputIsBookingSectorData_ReturnsFoundBookingSectorDTOs(int id)
        {
            //Act
            var result = await bookingSectorService.GetBookingTournamentByIdAsync(id) as List <BookingSectorDTO>;

            //Assert
            Assert.IsNotNull(result);
            Assert.IsInstanceOf <IEnumerable <BookingSectorDTO> >(result);
            Assert.AreEqual(1, result.Count);
        }
        public async Task <IActionResult> GetTournament([FromRoute] int id)
        {
            var dtos = await bookingSectorService.GetBookingTournamentByIdAsync(id);

            if (dtos != null)
            {
                return(Ok(dtos));
            }
            else
            {
                return(NotFound());
            }
        }