示例#1
0
 public MoviesController(IMovieService movieService, IPurchaseService purchaseService, IReviewService reviewService, IUserFavoriteService userFavoriteService)
 {
     _movieService        = movieService;
     _purchaseService     = purchaseService;
     _reviewService       = reviewService;
     _userFavoriteService = userFavoriteService;
 }
 public UsersController(IUserService userService, IUserFavoriteService userFavoriteService, IProductService productService, IUserAddressService userAddressService, IOrderDetailService orderDetailService, IContactService contactService)
 {
     _userService         = userService;
     _userFavoriteService = userFavoriteService;
     _productService      = productService;
     _userAddressService  = userAddressService;
     _orderDetailService  = orderDetailService;
     _contactService      = contactService;
 }
示例#3
0
 public TesterProfileController(IOnlineUserService onlineUserService,
                                ITesterProfileService profileService, IUserEducationService educationService, IUserJobService jobService, IUserLanguageService languageService, IUserFavoriteService userFavoriteService, IFavoriteTagService favoriteTagService, IUserSocialsService socialsService) : base(onlineUserService)
 {
     _profileService      = profileService;
     _educationService    = educationService;
     _jobService          = jobService;
     _languageService     = languageService;
     _userFavoriteService = userFavoriteService;
     _favoriteTagService  = favoriteTagService;
     _socialsService      = socialsService;
 }
示例#4
0
 public UserDashboardController(IProductService ProductService, IMemberService MemberService, IInvoiceService InvoiceService, IProductReviewService ProductReviewService, ICouponService CouponService, IUserFavoriteService UserFavoriteService, IReportService ReportService, IAddressService AddressService, ICartService CartService, IOrderService OrderService)
 {
     _ProductService       = ProductService;
     _MemberService        = MemberService;
     _InvoiceService       = InvoiceService;
     _ProductReviewService = ProductReviewService;
     _CouponService        = CouponService;
     _UserFavoriteService  = UserFavoriteService;
     _ReportService        = ReportService;
     _AddressService       = AddressService;
     _CartService          = CartService;
     _OrderService         = OrderService;
 }
示例#5
0
 /// <summary>
 /// This constructor is used to inject services in API.
 /// </summary>
 /// <param name="userNotificationSettingsService"></param>
 /// <param name="userPushedNotificationService"></param>
 /// <param name="userRepository"></param>
 /// <param name="userFavorite"></param>
 /// <param name="promotions"></param>
 /// <param name="setting"></param>
 /// <param name="program"></param>
 /// <param name="Configuration"></param>
 /// <param name="accessor"></param>
 public SchedulerController(IUserNotificationSettingsService userNotificationSettingsService, IUserPushedNotificationService userPushedNotificationService,
                            IUserRepository userRepository, IUserFavoriteService userFavorite, IPromotions promotions
                            , IGeneralSettingService setting, IPrograms program, IHttpContextAccessor accessor, IConfiguration Configuration)
 {
     _userNotificationSettingsService = userNotificationSettingsService;
     _userPushedNotificationService   = userPushedNotificationService;
     _userRepository = userRepository;
     _userFavorite   = userFavorite;
     _promotions     = promotions;
     _setting        = setting;
     _program        = program;
     _accessor       = accessor;
     _configuration  = Configuration;
 }
示例#6
0
 public UserHomeController(IProductService ProductService, IMemberService MemberService, ILikeService LikeService, IDislikeService DislikeService, IProductReviewService ProductReviewService, ICartService CartService, ICouponService CouponService, IAddressService AddressService, IInvoiceService InvoiceService, ILoginService LoginService, IReportService ReportService, IUserFavoriteService UserFavoriteService, IOrderService OrderService)
 {
     _ProductService       = ProductService;
     _MemberService        = MemberService;
     _LikeService          = LikeService;
     _DislikeService       = DislikeService;
     _ProductReviewService = ProductReviewService;
     _CartService          = CartService;
     _CouponService        = CouponService;
     _AddressService       = AddressService;
     _InvoiceService       = InvoiceService;
     _LoginService         = LoginService;
     _ReportService        = ReportService;
     _UserFavoriteService  = UserFavoriteService;
     _OrderService         = OrderService;
 }
示例#7
0
 public SeriesService(AppDbContext dbContext,
                      IMapper mapper,
                      IFileStorageService fileStorageService,
                      ILoggerService logger,
                      ICommentService commentService,
                      IAccountsService accountsService,
                      IPeopleService peopleService,
                      IRatingService ratingService,
                      IUserFavoriteService userFavoriteService)
     : base(dbContext)
 {
     _dbContext           = dbContext;
     _mapper              = mapper;
     _fileStorageService  = fileStorageService;
     _logger              = logger;
     _commentService      = commentService;
     _accountsService     = accountsService;
     _peopleService       = peopleService;
     _ratingService       = ratingService;
     _userFavoriteService = userFavoriteService;
 }
 public UserController(IPurchaseService purchaseService, IReviewService reviewService, IUserFavoriteService userFavoriteService)
 {
     _purchaseService     = purchaseService;
     _reviewService       = reviewService;
     _userFavoriteService = userFavoriteService;
 }