Exemple #1
0
 public AuthService(UserManager <ApplicationUser> userManager, ApplicationDbContext context, ITokenHelper tokenHelper, ISharedIdentityService sharedIdentityService)
 {
     _tokenHelper           = tokenHelper;
     _userManager           = userManager;
     _context               = context;
     _sharedIdentityService = sharedIdentityService;
 }
 public OrderService(HttpClient httpClient, IPaymentService paymentService, IBasketService basketService, ISharedIdentityService sharedIdentityService)
 {
     _httpClient            = httpClient ?? throw new ArgumentNullException(nameof(httpClient));
     _paymentService        = paymentService ?? throw new ArgumentNullException(nameof(paymentService));
     _basketService         = basketService ?? throw new ArgumentNullException(nameof(basketService));
     _sharedIdentityService = sharedIdentityService ?? throw new ArgumentNullException(nameof(sharedIdentityService));
 }
Exemple #3
0
 public OrderService(IPaymentService paymentService, HttpClient httpClient, IBasketService basketService, ISharedIdentityService sharedIdentityService)
 {
     _paymentService        = paymentService;
     _httpClient            = httpClient;
     _basketService         = basketService;
     _sharedIdentityService = sharedIdentityService;
 }
Exemple #4
0
 public WalletController(
     IGenericService <Wallet> walletGenericService,
     IWalletService walletService,
     ISharedIdentityService sharedIdentityService,
     ILogger <WalletController> logger)
 {
     this.walletGenericService  = walletGenericService;
     this.walletService         = walletService;
     this.sharedIdentityService = sharedIdentityService;
     this.logger = logger;
     this.logger = logger;
 }
 public LimitOptionRequestController
     (IMapper mapper,
     ISharedIdentityService sharedIdentityService,
     ILimitOptionRequestRepository limitOptionRequestRepository,
     IGenericRepository <LimitOptionRequest> genericLimitOptionRepository,
     IGenericRepository <Wallet> genericWalletRepository)
 {
     this.mapper = mapper;
     this.sharedIdentityService        = sharedIdentityService;
     this.limitOptionRequestRepository = limitOptionRequestRepository;
     this.genericLimitOptionRepository = genericLimitOptionRepository;
     this.genericWalletRepository      = genericWalletRepository;
 }
        public TradeController(
            ISharedIdentityService sharedIdentityService,
            IWalletService walletService,
            ITradeService tradeService,
            IProductItemService productItemService,

            IMapper mapper)
        {
            this.sharedIdentityService = sharedIdentityService;
            this.walletService         = walletService;
            this.tradeService          = tradeService;
            this.productItemService    = productItemService;
            this.mapper = mapper;
        }
 public ProductController(
     IGenericService <Product> productGenericService,
     IProductService productService,
     IImageService imageService,
     IMapper mapper,
     ISharedIdentityService sharedIdentityService,
     ILogger <ProductController> logger)
 {
     this.productGenericService = productGenericService;
     this.productService        = productService;
     this.imageService          = imageService;
     this.mapper = mapper;
     this.sharedIdentityService = sharedIdentityService;
     this.logger = logger;
 }
        public RequestController(
            IRequestService requestService,
            ISharedIdentityService sharedIdentityService,
            IMapper mapper,
            IGenericService <ProductDepositRequest> genericProductRequestService,
            IGenericService <NewTypeRequest> genericNewTypeRequestService,
            IGenericService <DepositRequest> genericDepositRequestService,
            ILogger <RequestController> logger)
        {
            this.requestService        = requestService;
            this.sharedIdentityService = sharedIdentityService;
            this.mapper = mapper;

            this.genericProductRequestService = genericProductRequestService;
            this.genericNewTypeRequestService = genericNewTypeRequestService;
            this.genericDepositRequestService = genericDepositRequestService;
            this.logger = logger;
        }
 public CourseController(ICatalogService catalogService, ISharedIdentityService sharedIdentityService)
 {
     _catalogService        = catalogService;
     _sharedIdentityService = sharedIdentityService;
 }
 public DiscountsController(IDiscountService discountService, ISharedIdentityService sharedIdentityService)
 {
     _discountService       = discountService;
     _sharedIdentityService = sharedIdentityService;
 }
 public BasketController(IBasketService basketService, ISharedIdentityService sharedIdentityService) //Bunların startup tarafına eklendiğine emin ol
 {
     _basketService         = basketService;
     _sharedIdentityService = sharedIdentityService;
 }
Exemple #12
0
 public DiscountsController(IDiscountService discountService, ISharedIdentityService sharedIdentityService)
 {
     _discountService       = discountService ?? throw new ArgumentNullException(nameof(discountService));
     _sharedIdentityService = sharedIdentityService ?? throw new ArgumentNullException(nameof(sharedIdentityService));
 }
 public BasketsController(IBasketService basketService, ISharedIdentityService sharedIdentityService)
 {
     _basketService         = basketService;
     _sharedIdentityService = sharedIdentityService;
 }
Exemple #14
0
 public CoursesController(ICatalogService catalogService, ISharedIdentityService sharedIdentityService)
 {
     _catalogService        = catalogService ?? throw new ArgumentNullException(nameof(catalogService));
     _sharedIdentityService = sharedIdentityService ?? throw new ArgumentNullException(nameof(sharedIdentityService));
 }
Exemple #15
0
 public BasketController(IBasketService basketService, ISharedIdentityService sharedIdentityService)
 {
     _basketService         = basketService ?? throw new ArgumentNullException(nameof(basketService));
     _sharedIdentityService = sharedIdentityService ?? throw new ArgumentNullException(nameof(sharedIdentityService));
 }
 public ExportController(ISharedIdentityService sharedIdentityService, ITransactionRepository transactionRepository, IWebHostEnvironment webHostEnvironment)
 {
     this.sharedIdentityService = sharedIdentityService;
     this.transactionRepository = transactionRepository;
     this.webHostEnvironment    = webHostEnvironment;
 }
 public OrderController(IMediator mediator, ISharedIdentityService sharedIdentityService)
 {
     _mediator = mediator;
     _sharedIdentityService = sharedIdentityService;
 }