public async Task UpdateComputedFields2() { Security.LoginAs(3, "Regular"); using (var manager = new ResourcePoolManager()) { var list = manager.GetResourcePoolSet(17).AsEnumerable(); await manager.UpdateComputedFieldsAsync(list.First().Id); } }
public async Task UpdateComputedFields() { Security.LoginAs(1, "Administrator"); using (var manager = new ResourcePoolManager()) { var list = manager.GetResourcePoolSet(29).AsEnumerable(); await manager.UpdateComputedFieldsAsync(list.First().Id); } }