示例#1
0
 public LoginCommandHandler(UserManager <AppUser> userManager,
                            IConfiguration configuration,
                            IMyBlogDbContext myBlogDbContext)
 {
     _userManager     = userManager;
     _configuration   = configuration;
     _myBlogDbContext = myBlogDbContext;
 }
示例#2
0
 public GetUserSocialLinksQueryHandler(IMyBlogDbContext myBlogDbContext,
                                       IHttpContextAccessor httpContextAccessor)
 {
     _myBlogDbContext     = myBlogDbContext;
     _httpContextAccessor = httpContextAccessor;
 }
示例#3
0
 public GetCategoriesDataTableQueryHandler(IMyBlogDbContext myBlogDbContext)
 {
     _myBlogDbContext = myBlogDbContext;
 }
 public DeleteCategoryCommandHandler(IMyBlogDbContext context)
 {
     _context = context;
 }
示例#5
0
 public GetUsersQueryHandler(IMyBlogDbContext myBlogDbContext)
 {
     _myBlogDbContext = myBlogDbContext;
 }
示例#6
0
 public GetBlogQueryHandler(IMyBlogDbContext context)
 {
     _context = context;
 }
示例#7
0
 public GetRecentBlogsQueryHandler(IMyBlogDbContext myBlogDbContext)
 {
     _myBlogDbContext = myBlogDbContext;
 }
 public AddBlogCommandHandler(IMyBlogDbContext myBlogDbContext, IHttpContextAccessor httpContextAccessor)
 {
     _myBlogDbContext     = myBlogDbContext;
     _httpContextAccessor = httpContextAccessor;
 }
示例#9
0
 public AddUserCommandHandler(IMyBlogDbContext myBlogDbContext)
 {
     _myBlogDbContext = myBlogDbContext;
 }
 public GetCategoriesQueryHandler(IMyBlogDbContext context)
 {
     _context = context;
 }
 public DeleteUserCommandHandler(IMyBlogDbContext myBlogDbContext)
 {
     _myBlogDbContext = myBlogDbContext;
 }