예제 #1
0
 public UserController(IMovieService movieService, IUserService userService, IHttpContextAccessor httpContextAccessor, ICurrentLogedInUser currentLogedInUser)
 {
     _movieService        = movieService;
     _userService         = userService;
     _httpContextAccessor = httpContextAccessor;
     _currentLogedInUser  = currentLogedInUser;
 }
예제 #2
0
 public UserService(IUserRepository userRepository, ICryptoService cryptoService, IAsyncRepository <Review> reviewRepository, ICurrentLogedInUser currentLogedInUser)
 {
     _userRepository     = userRepository;
     _cryptoService      = cryptoService;
     _reviewRepository   = reviewRepository;
     _currentLogedInUser = currentLogedInUser;
 }
 public UserService(IUserRepository userRepository, ICryptoService cryptoService, IPurchaseRepository purchaseRepository, IMapper mapper, ICurrentLogedInUser currentLogedInUser, IAsyncRepository <Favorite> favoriteRepository)
 {
     _userRepository     = userRepository;
     _cryptoService      = cryptoService;
     _purchaseRepository = purchaseRepository;
     _mapper             = mapper;
     _currentLogedInUser = currentLogedInUser;
     _favoriteRepository = favoriteRepository;
 }
예제 #4
0
 public UserController(IUserService userService, ICurrentLogedInUser currentLogedInUser)
 {
     _userService        = userService;
     _currentLogedInUser = currentLogedInUser;
 }