public ReactionController(IReactionRepo db) { _db = db; }
//Init constructor public ReactionController() { reactionRepo = new ReactionRepo(new Connection()); errors = new LogErrors(); }
public backUpContoller(IReactionRepo db) { _db = db; }
//Init constructor public MessageRepo(ConnectionInterface connection, IReactionRepo reactionRepo) { this.connection = connection; this.reactionRepo = reactionRepo; }
public ReactionsController(IReactionRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public ReactionController(IReactionRepo repo, IMapper mapper) { _repo = repo; _mapper = mapper; }