public UserService(IUserRepository userRepository, IAnimalToCareRepository animalToCareRepository, IAnimalRepository animalRepository, IEncrypter encrypter) { _userRepository = userRepository; _animalToCareRepository = animalToCareRepository; _animalRepository = animalRepository; _encrypter = encrypter; }
public AnimalToCareService(IAnimalToCareRepository animalToCareRepository, IAnimalRepository animalRepository, IUserRepository userRepository, IAnimalService animalService) { _animalToCareRepository = animalToCareRepository; _animalRepository = animalRepository; _userRepository = userRepository; _animalService = animalService; }