public BargainController(IserviceRepository iserviceRepo) { _serviceRepo = iserviceRepo; }
public BargainControllerTest() { _repository = new ServiceRepositoryMock(); _controller = new BargainController(_repository); }
public UserController(IUserService userService, IserviceRepository <User> userRepository) { _userService = userService; _userRepository = userRepository; }
public UserService(IserviceRepository <User> userRepository, IserviceRepository <UserProfile> userProfileRepository) { _userRepository = userRepository; _userProfileRepository = userProfileRepository; }