/// <summary>
 /// Initializes a new instance of the <see cref="JoinController"/> class.
 /// </summary>
 /// <param name="userRepository">The user repository.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="userSession">The user session.</param>
 /// <param name="joinRepository">The join repository.</param>
 public RegisterController(IUserRepository userRepository, IStorage fileService, IUserSession<Domain.Model.User> userSession, IJoinRepository joinRepository)
 {
     _userRepository = userRepository;
     _joinRepository = joinRepository;
     _fileService = fileService;
     _userSession = userSession;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JoinController"/> class.
 /// </summary>
 /// <param name="userRepository">The user repository.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="userSession">The user session.</param>
 /// <param name="joinRepository">The join repository.</param>
 public RegisterController(IUserRepository userRepository, IStorage fileService, IUserSession <Domain.Model.User> userSession, IJoinRepository joinRepository)
 {
     _userRepository = userRepository;
     _joinRepository = joinRepository;
     _fileService    = fileService;
     _userSession    = userSession;
 }
Exemplo n.º 3
0
 public StockPriceService(IRepository <StockPrice> repository, IRepository <Company> c_repository, IRepository <StockExchange> se_repository, IJoinRepository <JoinCompanyStockExchange> c_se_repository)
 {
     this.repository      = repository;
     this.c_repository    = c_repository;
     this.se_repository   = se_repository;
     this.c_se_repository = c_se_repository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="JoinController"/> class.
 /// </summary>
 /// <param name="waitingListRepository">The waiting list repository.</param>
 /// <param name="joinRepository">The join repository.</param>
 public JoinController(IWaitingListRepository waitingListRepository, IJoinRepository joinRepository)
 {
     _waitingListRepository = waitingListRepository;
     _joinRepository        = joinRepository;
 }
Exemplo n.º 5
0
        //private readonly ILogger logger;

        public JoinController(IJoinRepository joinRepository)
        {
            this.joinRepository = joinRepository;
            //this.logger = logger;
        }
 public GetAllCompanyListService(IJoinRepository <JoinCompanyStockExchange> repository, IRepository <Company> crepository)
 {
     this.repository  = repository;
     this.crepository = crepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="JoinController"/> class.
 /// </summary>
 /// <param name="waitingListRepository">The waiting list repository.</param>
 /// <param name="joinRepository">The join repository.</param>
 public JoinController(IWaitingListRepository waitingListRepository, IJoinRepository joinRepository)
 {
     _waitingListRepository = waitingListRepository;
     _joinRepository = joinRepository;
 }
 public JoinCompanyStockExchangeService(IJoinRepository <JoinCompanyStockExchange> repository)
 {
     this.repository = repository;
 }