public void Add(int groupId, Guid id, string url)
        {
            var list = new ListBase(groupId, id, ListApplicationType.Id, url);

            listService.Add(list);

            var group = TEApi.Groups.Get(new Extensibility.Api.Version1.GroupsGetOptions {
                Id = groupId
            });

            SecurityService.RecalculatePermissions(list.Id, ListApplicationType.Id, group.ApplicationId);

            ExpireTags(groupId);
        }
예제 #2
0
 public async void Add(string name, string range)
 {
     await _listService.Add(name, range);
 }