public UserController(UserRepository userRepository, ReviewRepository reviewRepository, UserService userService, OrdersRepository ordersRepository, GigService gigService) { _userRepository = userRepository; _reviewRepository = reviewRepository; _userService = userService; _ordersRepository = ordersRepository; _gigService = gigService; }
public AccountsController(CategoryRepository categoryRepository, AssetRepository assetRepository, UserRepository userRepository, OrdersRepository ordersRepository) { _categoryRepository = categoryRepository; _assetRepository = assetRepository; _userRepository = userRepository; _ordersRepository = ordersRepository; }
public NotificationsController(NotificationRepository notificationRepository, UserRepository userRepository) { _notificationRepository = notificationRepository; _userRepository = userRepository; }
public AdminController(UserRepository userRepository, FeedbackRepository feedbackRepository) { _userRepository = userRepository; _feedbackRepository = feedbackRepository; }
public UserService(UserRepository userRepository, ReviewRepository reviewRepository, UserResponseHistoryRepository userResponseHistoryRepository) { _userRepository = userRepository; _reviewRepository = reviewRepository; _userResponseHistoryRepository = userResponseHistoryRepository; }
public static UserInfoModel GetUserInfo(string username) { var userRepository = new UserRepository(new GigbucketDbContext()); return userRepository.GetUserInfo(username); }