public EntityFrameworkCarRentalRepository(ILogger logger, IEntityRepository entityRepository, IRightRepository rightRepository, ApplicationContext dataContext) { if (logger == null) { throw new ArgumentNullException("logger"); } if (entityRepository == null) { throw new ArgumentNullException("entityRepository"); } if (rightRepository == null) { throw new ArgumentNullException("rightRepository"); } if (dataContext == null) { throw new ArgumentNullException("dataContext"); } _logger = logger; _entityRepository = entityRepository; _rightRepository = rightRepository; _dataContext = dataContext; _lock = new ReaderWriterLockSlim(); _rentalByCar = new Dictionary <Guid, List <CarRental> >(); _rentalByDriver = new Dictionary <Guid, List <CarRental> >(); }
public RightService ( IRightRepository rightRepository ) { this.rightRepository = rightRepository; }
public RightService(IRightRepository rightRepository) { if (rightRepository == null) { throw new ArgumentNullException("rightRepository"); } _rightRepository = rightRepository; }
public RightsController(IRightRepository repo) { this.repo = repo; }
public RightService(IRightRepository _Repository) { this._Repository = _Repository; }
public LoginService(IUserRepository UserRepository, ISettingRepository SettingRepository, IRightRepository RightRepository) { this._UserRepository = UserRepository; this._SettingRepository = SettingRepository; this._RightRepository = RightRepository; }
public RightService(IRightRepository RightRepository, IUnitOfWork unitOfWork) { this.RightRepository = RightRepository; this.unitOfWork = unitOfWork; }
public RightAppService(IRightRepository repository) { _repository = repository; }
public RightService(IRightRepository rightRepository) : base(rightRepository) { }
public RightService(IUnitOfWork unitOfWork, IRightRepository rightRepository, IMapper mapper) { _unitOfWork = unitOfWork; _rightRepository = rightRepository; _mapper = mapper; }