public UserController(IUserService userService, IAuthorizationService authorizationService,
                       IHubContext <SignalRHub> hubContext, IAnnouncementUserService announcementUserService,
                       IAnnouncementService announcementService)
 {
     _userService             = userService;
     _authorizationService    = authorizationService;
     _hubContext              = hubContext;
     _announcementUserService = announcementUserService;
     _announcementService     = announcementService;
 }
Esempio n. 2
0
 public CartController(IProductService productService,
                       IEmailSender emailSender, IViewRenderService viewRenderService,
                       IConfiguration configuration, IBillService billService, ILogger <CartController> logger,
                       IAnnouncementService announcementService,
                       IHubContext <SignalRHub> hubContext,
                       IUserService IUserService,
                       IAnnouncementUserService announcementUserService)
 {
     _productService          = productService;
     _billService             = billService;
     _viewRenderService       = viewRenderService;
     _configuration           = configuration;
     _emailSender             = emailSender;
     _logger                  = logger;
     _announcementService     = announcementService;
     _hubContext              = hubContext;
     _IUserService            = IUserService;
     _announcementUserService = announcementUserService;
 }