Пример #1
0
 public ReactionController(IReactionRepo db)
 {
     _db = db;
 }
Пример #2
0
        //Init constructor

        public ReactionController()
        {
            reactionRepo = new ReactionRepo(new Connection());
            errors       = new LogErrors();
        }
 public backUpContoller(IReactionRepo db)
 {
     _db = db;
 }
Пример #4
0
        //Init constructor

        public MessageRepo(ConnectionInterface connection, IReactionRepo reactionRepo)
        {
            this.connection   = connection;
            this.reactionRepo = reactionRepo;
        }
Пример #5
0
 public ReactionsController(IReactionRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Пример #6
0
 public ReactionController(IReactionRepo repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }