public IQueryable <TrainingLogModel> Get()
        {
            var result = _query.Get();
            var models = _mapper.Map <Traininglog, TrainingLogModel>(result);

            return(models);
        }
        public void GetShouldReturnAll()
        {
            _traininglogList.Add(new Traininglog {
                UserId = _currentUser.Id
            });

            var result = _query.Get().ToList();

            result.Count.Should().Be(1);
        }