private async void LoadVerbs() { ACLVerbs.Clear(); var verbs = await _aclVerbRepository.GetAllAsync(); foreach (var verb in verbs) { ACLVerbs.Add(verb); } }
public async Task <List <AclVerb> > GetAclVerbsAsync() { var aclVerbs = await _aclVerbRepository.GetAllAsync(); return(aclVerbs.ToList()); }