Exemplo n.º 1
0
 public NewBlogPostCmdHandler(ICurrentAppUser currentAppUser, IArcturusDbContext dbContext)
 {
     this.currentAppUser = currentAppUser;
     this.dbContext      = dbContext;
     dbContextWriter     = dbContext as DbContext;
 }
Exemplo n.º 2
0
 public CreateBlogCommandHandler(IMediator mediator, ICanaryDbContext dbContext, ICurrentAppUser currentUser)
 {
     this.mediator    = mediator;
     this.dbContext   = dbContext;
     this.currentUser = currentUser;
 }