public void E_GetAllWorkoutsByUserTest()
        {
            var users   = userRepository.GetAll().FirstOrDefault();
            var results = wcRepository.GetAllWorkoutsByUser(users.user_name).ToList();

            Assert.AreNotEqual(null, results);
            Assert.AreNotEqual(0, results.Count());
        }
 public IEnumerable <workout_collection> GetWorkoutsByUser(string username)
 {
     return(workoutCollectionRepository.GetAllWorkoutsByUser(username));
 }