private void RefreshList()
        {
            if (CommitsCollection != null && CommitsCollection.Any())
            {
                CommitsCollection.Clear();
            }

            using (var session = DbService.Instance.SessionFactory.OpenSession())
            {
                var commits = session.QueryOver <Commit>().List <Commit>();
                commits.ForEach(commit => CommitsCollection.Add(commit));
            }
        }
 private void HandleDataMessage(List <Commit> list)
 {
     CommitsCollection.Clear();
     list.ForEach(x => CommitsCollection.Add(x));
 }