Beispiel #1
0
        public PetTestController()
        {
            var context = new PetShopDbContext(dbContextOptions);

            _petServices          = new PetServices(context);
            _accomodationServices = new PetAccomodationServices(context);
        }
Beispiel #2
0
 public ArticlesController(IArticleServices iArticleServices, IPetServices iPetServices, IImageServices iImageServices, IUserServices iUserServices, IUserAuthInfoServices iUserAuthInfoServices)
 {
     _iArticleServices      = iArticleServices;
     _iPetServices          = iPetServices;
     _iImageServices        = iImageServices;
     _iUserServices         = iUserServices;
     _iUserAuthInfoServices = iUserAuthInfoServices;
 }
Beispiel #3
0
 public UserAuthInfosController(IUserServices iUserServices, IUserAuthInfoServices iUserAuthInfoServices, IOTPServices iOtpServices, IPetServices iPetServices, IArticleServices iArticleServices, IImageServices iImageServices)
 {
     _iUserServices         = iUserServices;
     _iUserAuthInfoServices = iUserAuthInfoServices;
     _iOtpServices          = iOtpServices;
     _iPetServices          = iPetServices;
     _iArticleServices      = iArticleServices;
     _iImageServices        = iImageServices;
 }
Beispiel #4
0
 public AlbergueController(IPetServices petService)
 {
     _petService = petService;
 }
Beispiel #5
0
 public PetsController(IPetServices iPetServices, IImageServices iImageServices)
 {
     _iPetServices   = iPetServices;
     _iImageServices = iImageServices;
 }
Beispiel #6
0
 public PetController(IPetServices petService)
 {
     this._petService = petService;
 }/*
Beispiel #7
0
 public PetController(IPetServices petServices, IPetAccomodationServices accomodationServices)
 {
     _petServices          = petServices;
     _accomodationServices = accomodationServices;
 }
Beispiel #8
0
 public PetController(IPetServices petService,
                      ILogger <PetController> logger)
 {
     _petService = petService;
     _logger     = logger;
 }