public static async Task SetListDescription(TwitterList list) { await Database.ListCrud.InsertAsync(new DatabaseList { Id = list.Id, UserId = list.User.Id, Name = list.Name, FullName = list.FullName, Slug = list.Slug }).ConfigureAwait(false); }
public static async Task SetListMembers(TwitterList list, IEnumerable<long> users) { await SetListDescription(list).ConfigureAwait(false); await SetListMembers(list.Id, users).ConfigureAwait(false); }