public WorkoutController()
        {
            _unitOfWork = new EFContextUnitOfWork(new MuscleLogContext());

            _exerciseService = new ExerciseLibraryService(new ExerciseRepository(_unitOfWork));
            _workoutCommentService = new WorkoutCommentService(new Repository<ml_WorkoutComment>(_unitOfWork));
            _workoutDayService = new WorkoutDayService(new Repository<ml_WorkoutDay>(_unitOfWork));
            _workoutService = new WorkoutService(new WorkoutRepository(_unitOfWork));
            _votesService = new WorkoutVoteService(new Repository<ml_WorkoutVotes>(_unitOfWork));
            _commentVoteService = new CommentVoteService(new Repository<ml_CommentVotes>(_unitOfWork));
        }
 public void Setup()
 {
     _unitOfWork = new MemoryUnitOfWork();
     _repo = new MemoryRepository<ml_WorkoutVotes>(_unitOfWork);
     _service = new WorkoutVoteService(_repo);
 }