public async Task <IActionResult> Post([FromBody] BookingSectorDTO bookingDTO)
        {
            var dto = await bookingSectorService.BookSector(bookingDTO);

            if (dto != null)
            {
                return(Created($"api/bookings/{dto.Id}", dto));
            }
            else
            {
                return(BadRequest());
            }
        }
        public async Task BookSectorAsync_InputIsBookingSectorData_ReturnsInsertedBookingSectorDTO()
        {
            //Arrange
            bookingSectorRepositoryMock.Setup(b => b.InsertEntityAsync(It.IsAny <BookingSector>()))
            .ReturnsAsync((BookingSector b) =>
            {
                b.Id = bookingSectorDTO.Id;
                bookingsSectorContext.Add(b);
                return(b);
            });

            //Act
            var result = await bookingSectorService.BookSector(bookingSectorDTO);

            //Assert
            Assert.AreEqual(bookingSectorDTO.Id, result.Id);
        }