public void CreateItem(object e)
        {
            var newItem = new EquipmentModel();

            newItem.InventoryId = Id;
            newItem.Class       = Class;
            bool result = decimal.TryParse(Price, out decimal price);

            newItem.Price = price;
            var itemStatus = new EquipmentStatusModel
            {
                Id = 2
            };

            newItem.Status       = itemStatus;
            newItem.Brand        = Brand;
            newItem.PurchaseDate = PurchaseDate;
            newItem.SerialNumber = SerialNumber;
            newItem.Description  = Description;
            newItem.Documents    = SelectedFiles;
            result = int.TryParse(WarrantyMonths, out int warrantyMonths);
            newItem.WarrantyMonths = warrantyMonths;
            SaveItemDocument();
            SendData.CreateItem(newItem);
            Id             = string.Empty;
            Description    = string.Empty;
            Class          = null;
            Brand          = string.Empty;
            Model          = string.Empty;
            SerialNumber   = string.Empty;
            WarrantyMonths = string.Empty;
            Price          = string.Empty;
            PO             = string.Empty;
            SelectedFiles.Clear();
        }