public UserController(IMovieService movieService, IUserService userService, IHttpContextAccessor httpContextAccessor, ICurrentLogedInUser currentLogedInUser) { _movieService = movieService; _userService = userService; _httpContextAccessor = httpContextAccessor; _currentLogedInUser = currentLogedInUser; }
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; }
public UserController(IUserService userService, ICurrentLogedInUser currentLogedInUser) { _userService = userService; _currentLogedInUser = currentLogedInUser; }