public void GetByEventId_EmptyDB_WhenCalled_ReturnsEvent()
        {
            // Act
            const int _id      = int.MaxValue; // DB is empty thus any id will work here.
            var       response = _controller.GetBy(id: _id);
            var       result   = response.Result as OkObjectResult;

            // Assert
            Assert.IsNull(result.Value);
        }
        public void GetByEventId_FilledDB_WhenCalled_ReturnsEvent()
        {
            // Act
            const int _id      = 0;
            var       response = _controller.GetBy(id: _id);
            var       result   = response.Result as OkObjectResult;

            // Assert
            Assert.IsNotNull(result.Value);
            var @event = result.Value as Event;

            Assert.AreEqual(@event.Id, _id);
        }