Exemple #1
0
 public AdoptionController(IAdoptionQuery adoptionQuery, IPetQuery petQuery, IRegisterNewAdoptionCommand command)
 {
     _adoptionQuery = adoptionQuery;
     _petQuery      = petQuery;
     _command       = command;
 }
Exemple #2
0
        public HomeController(IPetQuery petQuery)
        {
            KeepErrorNotifications();

            _petQuery = petQuery;
        }
 public PetController(IPetQuery petQuery, IRegisterNewPetCommand command)
 {
     _petQuery = petQuery;
     _command  = command;
 }