Exemplo n.º 1
0
#pragma warning disable CS1998

        public async Task Start()
        {
            if (_canCreateDb)
            {
                _migrator.CreateDb();
            }
            if (_canMigrateDb)
            {
                _migrator.MigrateDb();
            }
        }
#pragma warning disable CS1998

        public async Task Start()
        {
            if (_canCreateDb)
            {
                _migrator.CreateDb();
            }
            if (_canMigrateDb)
            {
                _migrator.MigrateDb();
            }
            if (_canEnableBroker)
            {
                _migrator.EnableBroker();
            }
        }