public IEnumerable GetRelations(ComboBoxViewModel viewModel, out int totalCount)
        {
            using (ThesisObjectContext context = new ThesisObjectContext())
            {
                var query = context.Relations.Select(a => new SelectItemViewModel {
                        Text = a.Name,
                        Value = a.RelationID
                    });

                return query.ToList(viewModel, out totalCount);
            }
        }
        public IEnumerable GetCountries(ComboBoxViewModel viewModel, out int totalCount)
        {
            using (ThesisObjectContext context = new ThesisObjectContext())
            {
                var query = context.Countries.Where(a => a.Name.Length > 0)
                    .Select(a => new SelectItemViewModel {
                        Text = a.Name,
                        Value = a.CountryID
                    });

                return query.ToList(viewModel, out totalCount);
            }
        }