public AppDomainService() { _context = new WindowsStoreContext(); AppBiz = new AppBiz(_context); PlatformBiz = new PlatformBiz(_context); AppCategoryBiz = new AppCategoryBiz(_context); AppVersionBiz = new AppVersionBiz(_context); ScreenshotBiz = new ScreenshotBiz(_context); }
public IEnumerable <AppCategoryDataContract> GetAppCategories() { return(AppCategoryBiz.Where(app => true) .ToList() .Select(app => app.ToAppCategoryDataContract())); }