public OrderItemsController(ISampleAppRepository repository,
                             ILogger <OrderItemsController> logger,
                             IMapper mapper)
 {
     this._repository = repository;
     this._logger     = logger;
     this._mapper     = mapper;
 }
 public OrdersController(ISampleAppRepository repository, ILogger <OrdersController> logger, IMapper mapper,
                         UserManager <StoreUser> usermanager
                         )
 {
     _repository       = repository;
     _logger           = logger;
     this._mapper      = mapper;
     this._usermanager = usermanager;
 }
 public ProductsController(ISampleAppRepository repository, ILogger <ProductsController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
Exemple #4
0
 public AppController(INullMailService mailService, ISampleAppRepository repository)
 {
     this._mailService = mailService;
     this._repository  = repository;
 }