public OrdeComandHandler (ICustumerRepository custumerRepository, IProductRepository productRepository, IOrderRepository orderRepository ) { _custumerRepository = custumerRepository; _productRepository = productRepository; _orderRepository = orderRepository; }
public AccountController(IOptions <TokenOptions> jwtOptions, IUoW uow, ICustumerRepository repository) : base(uow) { _repository = repository; _tokenOptions = jwtOptions.Value; ThrowIfInvalidOptions(_tokenOptions); _serializerSettings = new JsonSerializerSettings { Formatting = Formatting.Indented, ContractResolver = new CamelCasePropertyNamesContractResolver() }; }
public OrderCreateCommandHandler(IOrderRepository repository, ICustumerRepository custumerRepository, IProductRepository productRepository) { this._repository = repository; this._custumerRepository = custumerRepository; this._productRepository = productRepository; }
public CustomerComandHandler(ICustumerRepository custumerRepository, IEmailService emailService) { _custumerRepository = custumerRepository; _emailService = emailService; }
public CustumerService(ICustumerRepository repo, IMapper mapper, ICustomValidator <InsertCustumer.Request> validator) { _repo = repo; _mapper = mapper; _validator = validator; }
public LoadDataBase(ICustumerRepository custumerRepository) { _custumerRepository = custumerRepository; }
public CustomerController(ICustumerRepository repository, IUoW uow, CustomerComandHandler handler) : base(uow) { _repository = repository; _handler = handler; }
public CustomerService(ICustumerRepository repository) { _repository = repository; }