public void GetLogTest()
        {
            log1 = repo.Add(log1);
            LogInfo logRetrieved = repo.Get(log1.Id);

            Assert.AreEqual(log1, logRetrieved);
        }
        public LogInfoDto GetLog(int id)
        {
            authenticator.AuthenticateAdmin();
            LogInfo stored = logRepo.Get(id);

            return(CreateDto(stored));
        }