public BLL.App.DTO.Weapon MapWeaponUpdateToBll(WeaponUpdate inObject)
        {
            var bllEntity = new BLL.App.DTO.Weapon()
            {
                Id             = inObject.Id,
                AppUserId      = inObject.AppUserId,
                DndCharacterId = inObject.DndCharacterId,
                Name           = inObject.Name,
                Comment        = inObject.Comment,
                DamageDice     = inObject.DamageDice,
                DamageType     = inObject.DamageType,
                WeaponType     = inObject.WeaponType,
                WeaponRange    = inObject.WeaponRange,
                Properties     = inObject.Properties,
                Weight         = inObject.Weight,
                ValueInGp      = inObject.ValueInGp,
                Quantity       = inObject.Quantity
            };

            return(bllEntity);
        }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     instance = this;
 }