예제 #1
0
 public RegisterHandler(PublicatorDbContext context) => _context = context;
예제 #2
0
 public ListBookmarkedPostsHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #3
0
 public LogInHandler(PublicatorDbContext context, IOptions <JWTSettings> options)
 {
     _context     = context;
     _jwtSettings = options.Value;
 }
예제 #4
0
 public ListPostsByCommunityHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #5
0
 public GetCurrentSubscriptionHandler(PublicatorDbContext context) => _context = context;
예제 #6
0
 public CreateNewPostHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #7
0
 public VoteForPostHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #8
0
 public SubscribeToUserHandler(PublicatorDbContext context) => _context = context;
예제 #9
0
 public GetCommunityByIdHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #10
0
 public GetUserByIdHandler(PublicatorDbContext context) => _context = context;
예제 #11
0
 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;
 }
예제 #15
0
 public GetCurrentVoteHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #16
0
 public ListPostsByCreatorUserHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #17
0
 public GetByUsernameHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #18
0
 public GetPostByIdHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #19
0
 public ListAllCommunitiesHandler(PublicatorDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public AddPostToBookmarksHandler(PublicatorDbContext context) => _context = context;