public HistoryEntity getHistory(int userId)
        {
            var history = _context.HistoryModel.Where(item => item.UserId == userId);

            if (history.Count() < 1)
            {
                return(null);
            }
            return(_bridge.mapToHistoryEntityFrom(history.FirstOrDefault()));
        }