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