public MessageHandler(PillarBoxContext dbContext, IInboxService inboxService, IMessageContext context, INotificationDespatcher notify) { _dbContext = dbContext; _inboxService = inboxService; _context = context; _notify = notify; }
public Startup(IConfiguration configuration) { Configuration = configuration; using (var client = new PillarBoxContext()) { client.Database.Migrate(); } Mapper.Initialize(cfg => { cfg.AddProfile(new AutoMapperProfileConfiguration()); }); }
public UserContext(PillarBoxContext dbContext) { _dbContext = dbContext; }
public MessageFiltering(PillarBoxContext dbContext, IMessageContext context) { _dbContext = dbContext; _context = context; }
public MessagesService(PillarBoxContext dbContext) : base(dbContext) { }
public InboxService(PillarBoxContext dbContext, IUserContext userContext) : base(dbContext) { _userContext = userContext; }
public EntityService(PillarBoxContext dbContext) { _dbContext = dbContext; }