public void GetFromTimeToTime_Test()
        {
            var returnList = new List <NetworkMetric>();

            mock.Setup(repository => repository.GetFromTimeToTime(It.IsAny <DateTimeOffset>().ToUnixTimeSeconds(), It.IsAny <DateTimeOffset>().ToUnixTimeSeconds())).Returns(returnList);
            IActionResult result = controller.GetFromTimeToTime(DateTimeOffset.FromUnixTimeSeconds(10), DateTimeOffset.FromUnixTimeSeconds(20));

            mock.Verify(repository => repository.GetFromTimeToTime(10, 20), Times.AtLeastOnce());
        }