public PetController(IPetRepository petRepository, UserManager <Owner> userManager, IUpdatePetRepository updatePetRepository, IWatchlistRepository watchlistRepository, INotificationRepository notificationRepository, IHubContext <SignalServer> hubContext, IClientNotification clientNotification) { _petRepository = petRepository; _userManager = userManager; _updatePetRepository = updatePetRepository; _watchlistRepository = watchlistRepository; _notificationRepository = notificationRepository; _hubContext = hubContext; _clientNotification = clientNotification; }
public UpdatePet(IUpdatePetRepository updatePetRepository) { _updatePetRepository = updatePetRepository; }