Example #1
0
      private void _onLoad(object sender, EventArgs e) {
         var req = new GetInstallsByPlatformIdType();

         req.PlatformId = _platformId;
         req.Type = _type;

         SendRequest(req);

         SetSort(listImages, 0);
      }
 internal void Handle(GetInstallsByPlatformIdType request) {
    using (var dbConn = DatabaseManager.DbConn()) {
       var installs = dbConn.ExecuteBpl(new InstallGetByPlatformIdType(request.PlatformId, request.Type));
       Reply(installs);
    }
 }