public void RemoveAparat(int index)
 {
     if (index >= 0 && index < AparatBagSize())
     {
         AparatyEquippped.RemoveAt(index);
     }
 }
        public bool AddAparat(AparatViewModel aparat)
        {
            if (aparat == null)
            {
                return(false);
            }

            int index = AparatyEquippped.FindIndex(m => m.Aparat.Id == aparat.Id);

            if (index < 0)
            {
                AparatyEquippped.Add(new AparatInBag()
                {
                    Aparat = aparat, AparatAmount = 1
                });
            }
            else
            {
                AparatyEquippped[index].AparatAmount++;
            }
            return(true);
        }