Fixed to category handling

This commit is contained in:
2014-12-15 16:05:45 -05:00
parent 722f134a4e
commit 75ba11fefd
8 changed files with 25 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data.Entity.Infrastructure;
using System.Linq;
namespace FeedCenter
{
@@ -48,6 +49,11 @@ namespace FeedCenter
}
}
public Category DefaultCategory
{
get { return _allCategories.First(c => c.IsDefault); }
}
#endregion
#region All feeds