コード例 #1
0
 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);
 }
コード例 #2
0
 public IEnumerable <AppCategoryDataContract> GetAppCategories()
 {
     return(AppCategoryBiz.Where(app => true)
            .ToList()
            .Select(app => app.ToAppCategoryDataContract()));
 }