public CreatePostCommandHandler(IImagegramDbContext context,
                                 IConfigurationService configurationService,
                                 IUserService userService)
 {
     _context = context;
     _configurationService = configurationService;
     _userService          = userService;
 }
 public GetAllPostsQueryHandler(IImagegramDbContext context)
 {
     _context = context;
 }
Example #3
0
 public RetrieveCommentsFromPostQueryHandler(IImagegramDbContext context)
 {
     _context = context;
 }
Example #4
0
 public CreateCommentCommandHandler(IImagegramDbContext context,
                                    IUserService userService)
 {
     _context     = context;
     _userService = userService;
 }