示例#1
0
 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;
 }
示例#2
0
 public UpdatePet(IUpdatePetRepository updatePetRepository)
 {
     _updatePetRepository = updatePetRepository;
 }