public RegisterHandler(PublicatorDbContext context) => _context = context;
public ListBookmarkedPostsHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public LogInHandler(PublicatorDbContext context, IOptions <JWTSettings> options) { _context = context; _jwtSettings = options.Value; }
public ListPostsByCommunityHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public GetCurrentSubscriptionHandler(PublicatorDbContext context) => _context = context;
public CreateNewPostHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public VoteForPostHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public SubscribeToUserHandler(PublicatorDbContext context) => _context = context;
public GetCommunityByIdHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public GetUserByIdHandler(PublicatorDbContext context) => _context = context;
public ListHotPostsHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ListCommentsByPostHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ListPostsBySubscriptionHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ConfirmAccountRegistrationHandler(PublicatorDbContext context) { _context = context; }
public GetCurrentVoteHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ListPostsByCreatorUserHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public GetByUsernameHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public GetPostByIdHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ListAllCommunitiesHandler(PublicatorDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public AddPostToBookmarksHandler(PublicatorDbContext context) => _context = context;