예제 #1
0
        public void Reload()
        {
            var service = new RequestsService();

            Requests.Clear();
            var list = service.GetAsync().Result.ToList();

            list.Reverse();
            list = list.Take(10).ToList();

            foreach (var x in list)
            {
                Requests.Add(x);
            }
        }