public CompletedWorkoutService(ICompletedWorkoutRepository CompletedWorkoutRepository, IUserRepository userRepository, IPlannedWorkoutRepository plannedWorkoutRepository, IDistributedCache cache) { _completedWorkoutRepository = CompletedWorkoutRepository; _userRepository = userRepository; _plannedWorkoutRepository = plannedWorkoutRepository; _cache = cache; }
public CompletedWorkoutsController(ICompletedWorkoutRepository completedWorkoutRepository, IMapper mapper) { this.completedWorkoutRepository = completedWorkoutRepository; this.mapper = mapper; }