/// <summary> /// Initializes the controller with dependency injection. /// </summary> /// <param name="param">IExploreRepository implementation to use.</param> public ExploreController(IExploreRepository param) { repo = param; }
public UserDesktopController(IUserDesktopRepository desktopRepository, IUserRepository userRepository, IExploreRepository exploreRepository) { this._desktopRepository = desktopRepository; this._userRepository = userRepository; this._exploreRepository = exploreRepository; }
public ActuallController(IExploreRepository repository, IUserDesktopRepository desktopRepository, IUpdatingRepository updateRepository) { this._actuallRepository = repository; this._desktopRepository = desktopRepository; this._updateRepository = updateRepository; }
public ExploreController(IExploreRepository repository) { this._exploreRepository = repository; }