Пример #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;