public LineManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.Line> lineRepository) { _unitOfWork = unitOfWork; _lineRepository = lineRepository; _lineRepository.EnrollUnitOfWork(_unitOfWork); }
public NewsManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.News> newsRepository) { _unitOfWork = unitOfWork; _newsRepository = newsRepository; _newsRepository.EnrollUnitOfWork(_unitOfWork); }
public DistanceBetweenStopsManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.DistanceBetweenStops> distanceBetweenStopsRepository) { _unitOfWork = unitOfWork; _distanceBetweenStopsRepository = distanceBetweenStopsRepository; _distanceBetweenStopsRepository.EnrollUnitOfWork(_unitOfWork); }
public AnswerOptionManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.AnswerOption> answerOptionRepository) { _unitOfWork = unitOfWork; _answerOptionRepository = answerOptionRepository; _answerOptionRepository.EnrollUnitOfWork(_unitOfWork); }
public EmployeeManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.Employee> employeeRepository) { _unitOfWork = unitOfWork; _employeeRepository = employeeRepository; _employeeRepository.EnrollUnitOfWork(_unitOfWork); }
public BusStopOnLineManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.BusStopOnLine> busStopOnLineRepository) { _unitOfWork = unitOfWork; _busStopOnLineRepository = busStopOnLineRepository; _busStopOnLineRepository.EnrollUnitOfWork(_unitOfWork); }
public TimetableManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.Timetable> timetrableRepository) { _unitOfWork = unitOfWork; _timetrableRepository = timetrableRepository; _timetrableRepository.EnrollUnitOfWork(_unitOfWork); }
public EmployeeAuthenticator() { _userAccountRepository = new Repository<UserAccount>(); _unitOfWork = new DataContext(); _userAccountRepository.EnrollUnitOfWork(_unitOfWork); }
public PhotoManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.Photo> photoRepository) { _unitOfWork = unitOfWork; _photoRepository = photoRepository; _photoRepository.EnrollUnitOfWork(_unitOfWork); }
public AuthenticationEmployeeManager(IRepository<Data.Entities.UserAccount> employeeRepository, IUnitOfWork unitOfWork) { _accountRepository = employeeRepository; _unitOfWork = unitOfWork; employeeRepository.EnrollUnitOfWork(_unitOfWork); }
public PurchaseTicketManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.PurchaseTicket> purchaseTicketRepository) { _purchaseTicketRepository = purchaseTicketRepository; _unitOfWork = unitOfWork; _purchaseTicketRepository.EnrollUnitOfWork(_unitOfWork); }
public TicketTypeManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.TicketType> ticketTypeRepository) { _ticketTypeRepository = ticketTypeRepository; _unitOfWork = unitOfWork; _ticketTypeRepository.EnrollUnitOfWork(_unitOfWork); }
public UserAccountManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.UserAccount> userAccountRepository) { _unitOfWork = unitOfWork; _userAccountRepository = userAccountRepository; _userAccountRepository.EnrollUnitOfWork(_unitOfWork); }
public BoostAccountManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.BoostAccount> boostAccountRepository) { _boostAccountRepository = boostAccountRepository; _unitOfWork = unitOfWork; _boostAccountRepository.EnrollUnitOfWork(_unitOfWork); }
public CustomerManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.Customer> customerRepository) { _customerRepository = customerRepository; _unittOfWork = unitOfWork; _customerRepository.EnrollUnitOfWork(_unittOfWork); }
public QuestionnaireManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.Questionnaire> questionnainerRepository) { _unitOfWork = unitOfWork; _questionnainerRepository = questionnainerRepository; _questionnainerRepository.EnrollUnitOfWork(_unitOfWork); }
public DiscountManager(IUnitOfWork unitOfWork, IRepository<Data.Entities.Discount> discountRepository) { _discountRepository = discountRepository; _unitOfWork = unitOfWork; _discountRepository.EnrollUnitOfWork(_unitOfWork); }