public AccessService(IUserRepository userRepo, IDoorRepository doorRepository, IProfileAccessRepository profileAccessRepository, IUserAccessLogRepository userAccessLog) { _userRepo = userRepo; _doorRepository = doorRepository; _profileAccessRepository = profileAccessRepository; _userAccessLog = userAccessLog; }
/// <summary> /// /// </summary> public void Dispose() { if (this.doorRepository != null) { this.doorRepository = null; } }
public DogDoorOperations( IDoorRepository doorDbRepository, IUnitOfWork uow, IOptionsMonitor <AppSettings> settings) { _doorDbRepository = doorDbRepository; _uow = uow; _appSettings = settings; }
public IntimidatorWorkDayController(IDoorRepository _doorRepository , IintimidatorWorkdayRepository _intimidatorWorkdayRepository , IintimidatorRepository _intimidatorRepository , IDistributedCache _distributedCache ) { this._doorRepository = _doorRepository ?? throw new ArgumentNullException(nameof(_doorRepository));; this._intimidatorWorkdayRepository = _intimidatorWorkdayRepository ?? throw new ArgumentNullException(nameof(_intimidatorWorkdayRepository));; this._intimidatorRepository = _intimidatorRepository ?? throw new ArgumentNullException(nameof(_intimidatorRepository)); this._distributedCache = _distributedCache ?? throw new ArgumentNullException(nameof(_distributedCache)); }
/// <summary> /// Constructor /// </summary> /// <param name="doorRepository"></param> /// <param name="userRepository"></param> /// <param name="orderRepository"></param> public DoorService( IDoorRepository doorRepository, IUserRepository userRepository, IOrderRepository orderRepository, IColorRepository colorRepository) { _doorRepository = doorRepository; _userRepository = userRepository; _orderRepository = orderRepository; _colorRepository = colorRepository; }
public IntimidatorIntimidationsSummery(IDoorRepository _doorRepository , IintimidatorWorkdayRepository _intimidatorWorkdayRepository , IintimidatorRepository _intimidatorRepository , IDistributedCache _distributedCache , int intimidatorId) { this._doorRepository = _doorRepository ?? throw new ArgumentNullException(nameof(_doorRepository));; this._intimidatorWorkdayRepository = _intimidatorWorkdayRepository ?? throw new ArgumentNullException(nameof(_intimidatorWorkdayRepository));; this._intimidatorRepository = _intimidatorRepository ?? throw new ArgumentNullException(nameof(_intimidatorRepository)); this._distributedCache = _distributedCache ?? throw new ArgumentNullException(nameof(_distributedCache)); this.intimidatorId = intimidatorId; }
public CurrentEmployeeOfTheMonth(IDoorRepository _doorRepository , IintimidatorWorkdayRepository _intimidatorWorkdayRepository , IintimidatorRepository _intimidatorRepository , IDistributedCache _distributedCache , IMapper _mapper ) { this._doorRepository = _doorRepository ?? throw new ArgumentNullException(nameof(_doorRepository));; this._intimidatorWorkdayRepository = _intimidatorWorkdayRepository ?? throw new ArgumentNullException(nameof(_intimidatorWorkdayRepository));; this._intimidatorRepository = _intimidatorRepository ?? throw new ArgumentNullException(nameof(_intimidatorRepository)); this._distributedCache = _distributedCache ?? throw new ArgumentNullException(nameof(_distributedCache)); this._mapper = _mapper ?? throw new ArgumentNullException(nameof(_mapper)); }
public DoorController(IDoorRepository DoorRepository, IRoomRepository RoomRepository) { if (DoorRepository == null) { throw new ArgumentNullException(nameof(DoorRepository)); } if (RoomRepository == null) { throw new ArgumentNullException(nameof(RoomRepository)); } this.doorRepository = DoorRepository; this.roomRepository = RoomRepository; }
public RandomDoorLocker(ILockRepository LockRepository, IDoorRepository DoorRepository, IRoomRepository RoomRepository) { if (LockRepository == null) { throw new ArgumentNullException(nameof(LockRepository)); } if (DoorRepository == null) { throw new ArgumentNullException(nameof(DoorRepository)); } if (RoomRepository == null) { throw new ArgumentNullException(nameof(RoomRepository)); } this.lockRepository = LockRepository; this.doorRepository = DoorRepository; this.roomRepository = RoomRepository; }
public LockController(ILockRepository LockRepository, IDoorRepository DoorRepository, ILockTypeRepository LockTypeRepository) { if (LockRepository == null) { throw new ArgumentNullException(nameof(LockRepository)); } if (DoorRepository == null) { throw new ArgumentNullException(nameof(DoorRepository)); } if (LockTypeRepository == null) { throw new ArgumentNullException(nameof(LockTypeRepository)); } this.lockRepository = LockRepository; this.doorRepository = DoorRepository; this.lockTypeRepository = LockTypeRepository; }
public DoorRepositoryTests() { _dbContext = ApplicationDbContextFactory.Create(); _repo = new DoorRepository(_dbContext); }
public DoorHandler(GridRepository gridRepository) { this.gridHandler = new GridHandler(); this.doorRepository = new DoorRepository(gridRepository); }
public DoorsController(IDoorRepository _doorRepository, IMapper _mapper) { this._doorRepository = _doorRepository ?? throw new ArgumentNullException(nameof(_doorRepository));; this._mapper = _mapper ?? throw new ArgumentNullException(nameof(_mapper)); }
public UnitOfWork(ILogRepository logRepository, IDoorRepository doorRepository, ICpuRepository cpuRepository) { Logs = logRepository; Door = doorRepository; CpuTemprature = cpuRepository; }
/// <summary> /// Constructor for the door repository. /// </summary> /// <param name="doorRepo">The IDoorRepository dependency.</param> /// <param name="buildingRepo">The IBuildingRepository dependency.</param> public DoorController(IDoorRepository doorRepo, IBuildingRepository buildingRepo) { doorRepository = doorRepo; buildingRepository = buildingRepo; }
public HomeController(IDoorRepository doorRepository) { this.repository = doorRepository; }
public DoorController(ILogger <DoorController> logger, IDoorRepository repository) { _logger = logger; _repository = repository; }
public ChecklistService(IDataUnitOfWork dataUnitOfWork) { _checklistRepository = dataUnitOfWork.ChecklistRepository; _doorRepository = dataUnitOfWork.DoorRepository; _workorderTemplateHardwareCollectionRepository = dataUnitOfWork.WorkorderTemplateHardwareCollectionRepository; }
/// <summary> /// /// </summary> public DoorService() : base() { RepositoryContext context = new RepositoryContext(); this.doorRepository = new DoorRepository(context); }
public AdminController(IDoorRepository repo) { repository = repo; }
public DoorController(IDoorRepository doorRepository) { _doorRepository = doorRepository; }
public ShoppingCartController(IDoorRepository doorRepository, ShoppingCart shoppingCart) { _doorRepository = doorRepository; _shoppingCart = shoppingCart; }
public DoorController(ICategoryRepository categoryRepository, IDoorRepository doorRepository) { _categoryRepository = categoryRepository; _doorRepository = doorRepository; }
public BarkRecogniser(IDoorRepository doorDbRepository) { _doorDbRepository = doorDbRepository; }