public async Task GetBookingByIdAsync_InputIsBookingSectorData_ReturnsFoundBookingSectorDTO(int id)
        {
            //Act
            var result = await bookingSectorService.GetBookingByIdAsync(id);

            //Assert
            Assert.IsNotNull(result);
            Assert.IsInstanceOf <BookingSectorDTO>(result);
            Assert.AreEqual(id, result.Id);
        }
        public async Task <IActionResult> Get([FromRoute] int id)
        {
            var dto = await bookingSectorService.GetBookingByIdAsync(id);

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