public HeadArmor(int id) { try { DataAccess.HeadArmor DalHeadArmor = new DataAccess.HeadArmor(); BuildArmor(DalHeadArmor.GetHeadArmor(id)); } catch (Exception ex) { throw ex; } }
public HeadArmor(string name) { try { DataAccess.HeadArmor DalHeadArmor = new DataAccess.HeadArmor(); BuildArmor(DalHeadArmor.GetHeadArmor(name)); } catch (Exception ex) { throw ex; } }