Beispiel #1
0
 public UserService(IUnitOfWork.IUnitOfWork unitOfWork, IUserRepository repository) : base(unitOfWork, repository)
 {
     Repository = repository;
 }
Beispiel #2
0
 public UserSettingsService(IUnitOfWork.IUnitOfWork uow, IUserSettingsRepository settingsRepository) : base(uow, settingsRepository)
 {
     this.SettingsRepository = settingsRepository;
 }
Beispiel #3
0
 public CommentsService(IUnitOfWork.IUnitOfWork unitOfWork, ICommentsRepository repository, IUserRepository userRepository) : base(unitOfWork, repository)
 {
     UserRepository = userRepository;
 }
Beispiel #4
0
 public TravelsService(IUnitOfWork.IUnitOfWork unitOfWork, ITravelRepository repository, ITravelDayRepository travelDayRepository) : base(unitOfWork, repository)
 {
     TravelDayRepository = travelDayRepository;
     TravelRepository    = repository;
 }
 public UserCommandHandler(IUserRepository repository, IUnitOfWork.IUnitOfWork unitOfWork, IBus.IBus bus)
 {
     _repository = repository;
     _unitOfWork = unitOfWork;
     _bus        = bus;
 }
Beispiel #6
0
 protected EntityService(IUnitOfWork.IUnitOfWork unitOfWork, IGenericRepository <T> repository)
 {
     _unitOfWork = unitOfWork;
     _repository = repository;
 }