Beispiel #1
0
 public HPPotion(string name)
 {
     try
     {
         DataAccess.HPPotion DalHPPotion = new DataAccess.HPPotion();
         BuildPotion(DalHPPotion.GetHPPotion(name));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 public HPPotion(int id)
 {
     try
     {
         DataAccess.HPPotion DalHPPotion = new DataAccess.HPPotion();
         BuildPotion(DalHPPotion.GetHPPotion(id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }