public async void DeleteBuilding_BuildingDoesNotExist_NotFoundResult()
        {
            // Arragne
            int id = 1;
            var mockBuildingRepo = new Mock <IRepositoryAsync <Building> >();
            var controller       = new BuildingController(null, mockBuildingRepo.Object);

            // Act
            var result = await controller.DeleteBuilding(id);

            // Assert
            Assert.IsType <NotFoundResult>(result);
        }
        public async void DeleteBuilding_OkResult()
        {
            // Arrange
            int id = 1;
            var mockBuildingRepo = new Mock <IRepositoryAsync <Building> >();

            mockBuildingRepo.Setup(repo => repo.FindAsync(id))
            .ReturnsAsync(new Building {
                Name = "Test", Id = 1, Rooms = null
            });
            var controller = new BuildingController(null, mockBuildingRepo.Object);

            // Act
            var result = await controller.DeleteBuilding(id);

            // Assert
            Assert.IsType <OkResult>(result);
        }