public SessionController()
 {
     _unitOfWork = new EFContextUnitOfWork(new MuscleLogContext());
     _sessionService = new SessionService(new Repository<ml_Session>(_unitOfWork));
     _sessionSetService = new SessionSetService(new Repository<ml_SessionSet>(_unitOfWork));
     _workoutService = new WorkoutService(new WorkoutRepository(_unitOfWork));
 }
        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));
        }