Example #1
0
        public static NaturalWeapon GetNaturalWeaponByName(string name)
        {
            NaturalWeaponService _naturalWeaponService = new NaturalWeaponService(EquipmentGlobals.ConnectionString);
            natural_weapon       tempNaturalWeapon     = _naturalWeaponService.GetNaturalWeaponByName(name);

            return(MapThisToNaturalWeaponObject(tempNaturalWeapon));
        }
Example #2
0
 private static NaturalWeapon MapThisToNaturalWeaponObject(natural_weapon NaturalWeapon)
 {
     return(Mapper.Map <natural_weapon, NaturalWeapon>(NaturalWeapon));
 }