Пример #1
0
 public BuildingManager(
     IBuildingStore buildingStore,
     IMapper mapper)
 {
     _ibuildingStore = buildingStore ?? throw new ArgumentNullException(nameof(buildingStore));
     _mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Пример #2
0
 public CommentManager(ICommentStore icommentStore,
                       IGiveLikeStore igiveLikeStore,
                       IBuildingStore buildingStore,
                       IMapper mapper)
 {
     _igiveLikeStore = igiveLikeStore ?? throw new ArgumentNullException(nameof(igiveLikeStore));
     _icommentStore  = icommentStore ?? throw new ArgumentNullException(nameof(icommentStore));
     _ibuildingStore = buildingStore ?? throw new ArgumentNullException(nameof(buildingStore));
     _mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Пример #3
0
 public CreateController(IBuildingStore repo)
 {
     _repo = repo;
 }
 public ElevatorController(IBuildingStore repo)
 {
     building = repo.GetBuilding();
 }