Esempio n. 1
0
 public MessageHandler(PillarBoxContext dbContext, IInboxService inboxService, IMessageContext context, INotificationDespatcher notify)
 {
     _dbContext    = dbContext;
     _inboxService = inboxService;
     _context      = context;
     _notify       = notify;
 }
Esempio n. 2
0
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;

            using (var client = new PillarBoxContext())
            {
                client.Database.Migrate();
            }

            Mapper.Initialize(cfg =>
            {
                cfg.AddProfile(new AutoMapperProfileConfiguration());
            });
        }
Esempio n. 3
0
 public UserContext(PillarBoxContext dbContext)
 {
     _dbContext = dbContext;
 }
Esempio n. 4
0
 public MessageFiltering(PillarBoxContext dbContext, IMessageContext context)
 {
     _dbContext = dbContext;
     _context   = context;
 }
Esempio n. 5
0
 public MessagesService(PillarBoxContext dbContext) : base(dbContext)
 {
 }
Esempio n. 6
0
 public InboxService(PillarBoxContext dbContext, IUserContext userContext) : base(dbContext)
 {
     _userContext = userContext;
 }
Esempio n. 7
0
 public EntityService(PillarBoxContext dbContext)
 {
     _dbContext = dbContext;
 }