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