예제 #1
0
        private async Task GetTenantsAsync()
        {
            var tenantRepository = new TenantRepository();

            tenantRepository.Connection = Configuration.GetConnectionString("catalogdb");
            tenantRepository.DbUser     = Configuration["DbUser"];
            tenantRepository.DbPassword = Configuration["DbPassword"];
            Tenants = await tenantRepository.GetAllAsync();
        }
예제 #2
0
        private async Task GetTenantsAsync()
        {
            var TenantRepository = new TenantRepository();

            Tenants = await TenantRepository.GetAllAsync();
        }