public InvoicesController(IInvoiceService invoiceService, ILoggedUserService loggedUserService, IBus publisher, IHttpUserService userService)
 {
     this.invoiceService    = invoiceService;
     this.loggedUserService = loggedUserService;
     this.publisher         = publisher;
     this.userService       = userService;
 }
Exemplo n.º 2
0
 public AdService(PazarDbContext db, IMapper mapper, ILoggedUserService user, IPublisher publisher)
 {
     this.db        = db;
     this.mapper    = mapper;
     this.user      = user;
     this.publisher = publisher;
 }
Exemplo n.º 3
0
 public PazarDbContext(
     DbContextOptions <PazarDbContext> options,
     IDateTime dateTime,
     ILoggedUserService user)
     : base(options)
 {
     this.dateTime = dateTime;
     this.user     = user;
 }
 public BlazorApiClientService(
     MyBlazorConfiguration configuration,
     IFactoryService factoryService,
     ILoggedUserService loggedUserService)
 {
     _configuration     = configuration;
     _factoryService    = factoryService;
     _loggedUserService = loggedUserService;
 }
 public LoggedUserController(IUserService userService, ILoggedUserService loggedUserService, ICustomerService customerService, IAuthService authService, ICreditCardService creditCardService, IFindexScoreService findexScoreService)
 {
     _userService        = userService;
     _loggedUserService  = loggedUserService;
     _customerService    = customerService;
     _authService        = authService;
     _creditCardService  = creditCardService;
     _findexScoreService = findexScoreService;
 }
Exemplo n.º 6
0
 public IdentityService(
     UserManager <User> userManager,
     ITokenGeneratorService jwtTokenGenerator,
     ILoggedUserService user, IMapper mapper)
 {
     this.userManager       = userManager;
     this.jwtTokenGenerator = jwtTokenGenerator;
     this.user   = user;
     this.mapper = mapper;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Creates a new Current User Http Module
 /// </summary>
 /// <param name="session">A lazy IDocumentSession instace, since the registration of the module is before a session is created
 /// we need to lazily call it so it can be initialized properly</param>
 public CurrentUserModule(ILoggedUserService userService)
 {
     _loggedUserService = userService;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Creates a new Current User Http Module
 /// </summary>
 /// <param name="session">A lazy IDocumentSession instace, since the registration of the module is before a session is created
 /// we need to lazily call it so it can be initialized properly</param>
 public CurrentUserModule(ILoggedUserService userService)
 {
     _loggedUserService = userService;
 }
Exemplo n.º 9
0
 public UserController(
     ILoggedUserService loggedUserService)
 {
     _loggedUserService = loggedUserService;
 }
Exemplo n.º 10
0
 public IdentityController(IIdentityService identity, ILoggedUserService user)
 {
     this.identity = identity;
     this.user     = user;
 }
Exemplo n.º 11
0
 public AccountController(ILoggedUserService loggedUserService)
 {
     _loggedUserService = loggedUserService;
 }
Exemplo n.º 12
0
 public AccountController(ILoggedUserService loggedUserService)
 {
     _loggedUserService = loggedUserService;
 }