Exemplo n.º 1
0
 public UsersController(IUserOperations userOperations, IOptions <TokenAuthentification> tokenAuthentication)
 {
     _userOperations      = userOperations;
     _tokenAuthentication = tokenAuthentication.Value;
 }
Exemplo n.º 2
0
 public UsersController(IUserOperations userOperations, IOptions <TokenAuthentification> tokenAuthentication, IMapper mapper)
 {
     _userOperations      = userOperations;
     _tokenAuthentication = tokenAuthentication.Value;
     _mapper = mapper;
 }
Exemplo n.º 3
0
 public OrdersController(IOrderOperations orderOperations, IOptions <TokenAuthentification> tokenAuthentication)
 {
     _orderOperations     = orderOperations;
     _tokenAuthentication = tokenAuthentication.Value;
 }
Exemplo n.º 4
0
 public ProductsController(IProductOperations productOperations, IOptions <TokenAuthentification> tokenAuthentication, IMapper mapper)
 {
     _productOperations   = productOperations;
     _tokenAuthentication = tokenAuthentication.Value;
     _mapper = mapper;
 }
Exemplo n.º 5
0
 public CategoriesController(ICategoryOperations categoryOperations, IOptions <TokenAuthentification> tokenAuthentication, IMapper mapper)
 {
     _categoryOperations  = categoryOperations;
     _tokenAuthentication = tokenAuthentication.Value;
     _mapper = mapper;
 }