Esempio n. 1
0
      public JsonResult DeleteJson(int id)
      {
          List <Wallet> walletIdList = _wallet.FindList(u => u.VirCurID == id).ToList();

          foreach (var item in walletIdList)
          {
              _wallet.Delete(item.WalletID);
          }


          return(Json((_vir.Delete(id))));
      }