public async Task <AadTenant> UpdateTenantAsync(AadTenant t) { await _repo.UpdateTenantAsync(new AadTenantEntity(t.TenantId, t.Issuer, t.AdminConsent)); return(t); }
public async Task <AadTenant> AddTenantAsync(AadTenant t) { var result = await _repo.AddTenantAsync(new AadTenantEntity(t.TenantId, t.Issuer, t.AdminConsent)); return(t); }