private void GenerateAcessLog(User user) { var accessLog = new AccessLog(DateTime.Now, user.Id); _accessLogRepository.Insert(accessLog); }