public UserPlantActivityService(IFileClient fileClient, IUserPlantsRepository userPlantsRepository) { _fileClient = fileClient ?? throw new ArgumentNullException(nameof(fileClient)); _userPlantsRepository = userPlantsRepository ?? throw new ArgumentNullException(nameof(userPlantsRepository)); }
public UserPlantService(IUserPlantsRepository userPlantRepository) { _userPlantRepository = userPlantRepository ?? throw new ArgumentNullException(nameof(userPlantRepository)); }