Пример #1
0
 public PetInfoController(OwnerPetsContext ownerPetsContext, IOwnerPetsRepository ownerPetsRepository)
 {
     _Owner   = ownerPetsContext;
     _Context = ownerPetsRepository;
 }
Пример #2
0
 public OwnerController(ILogger <OwnerController> logger, IOwnerPetsRepository repos)
 {
     _logger     = logger;
     _OwnerRepos = repos;
 }