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(); }
private async Task GetTenantsAsync() { var TenantRepository = new TenantRepository(); Tenants = await TenantRepository.GetAllAsync(); }