public LoggingWorkTests()
        {
            var options = new DbContextOptionsBuilder <UserDataContext>()
                          .UseInMemoryDatabase(Guid.NewGuid().ToString())
                          .Options;

            _userDataContext = new UserDataContext(options);

            _userDataContext.Database.EnsureCreated();
            _userDataContext.SeedData();
            _loggingWork = new LoggingWork(_userDataContext);
        }