Пример #1
0
 public HeadArmor(int id)
 {
     try
     {
         DataAccess.HeadArmor DalHeadArmor = new DataAccess.HeadArmor();
         BuildArmor(DalHeadArmor.GetHeadArmor(id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public HeadArmor(string name)
 {
     try
     {
         DataAccess.HeadArmor DalHeadArmor = new DataAccess.HeadArmor();
         BuildArmor(DalHeadArmor.GetHeadArmor(name));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }