Exemplo n.º 1
0
 public static void CreateApp(App app)
 {
     if (AppDA.ExistsApp(app.AppID))
     {
         throw new BusinessException("AppID已经存在!");
     }
     AppDA.CreateApp(app);
 }
Exemplo n.º 2
0
 public static IEnumerable <App> LoadApps()
 {
     return(AppDA.LoadApps());
 }