public async Task GetBookingTournamentSectorsAsync_InputIsBookingSectorData_ReturnsAllBookingSectorDTOs()
        {
            //Act
            var result = await bookingSectorService.GetBookingTournamentSectorsAsync() as List <BookingSectorDTO>;

            //Assert
            Assert.IsNotNull(result);
            Assert.IsInstanceOf <IEnumerable <BookingSectorDTO> >(result);
            Assert.AreEqual(true, result[0].TournamentId.HasValue);
        }
        public async Task <IActionResult> GetTournaments()
        {
            var dtos = await bookingSectorService.GetBookingTournamentSectorsAsync();

            if (dtos.Any())
            {
                return(Ok(dtos));
            }
            else
            {
                return(NotFound());
            }
        }