public async Task UpdateAsync(BrainstormSession session) { var index = list.FindIndex(s => s.ID == session.ID); if (index > -1) { var tempSession = list[index]; tempSession.Name = session.Name; } await Task.Delay(200); }
public async Task AddAsync(BrainstormSession session) { list.Add(session); await Task.Delay(500); }