private async void FindCommandClick(object sender)
        {
            Cassetes.Clear();
            if (_inputtext != null && _inputtext != "")
            {
                FindHandler find = new FindHandler();
                switch (SelectedArg)
                {
                case "Название":
                    foreach (var item in find.FindTitle(FindHandler.FieldType.Title, _inputtext))
                    {
                        Cassetes.Add(new CasseteShortInfo
                        {
                            Cover = API.Image.ByteArrayToImage(item.Cover),
                            Id    = item.Catalog_Id,
                            Name  = item.Title
                        });
                    }
                    break;

                case "Режиссер":
                    foreach (var item in find.FindTitle(FindHandler.FieldType.Director, _inputtext))
                    {
                        Cassetes.Add(new CasseteShortInfo
                        {
                            Cover = API.Image.ByteArrayToImage(item.Cover),
                            Id    = item.Catalog_Id,
                            Name  = item.Title
                        });
                    }
                    break;

                case "Цена":
                    foreach (var item in find.FindTitle(FindHandler.FieldType.Price, _inputtext))
                    {
                        Cassetes.Add(new CasseteShortInfo
                        {
                            Cover = API.Image.ByteArrayToImage(item.Cover),
                            Id    = item.Catalog_Id,
                            Name  = item.Title
                        });
                    }
                    break;

                case "Отдел":
                    foreach (var item in find.FindTitle(FindHandler.FieldType.Departament, _inputtext))
                    {
                        Cassetes.Add(new CasseteShortInfo
                        {
                            Cover = API.Image.ByteArrayToImage(item.Cover),
                            Id    = item.Catalog_Id,
                            Name  = item.Title
                        });
                    }
                    break;
                }
            }
        }
 private async void UpdateTableClick(object sender)
 {
     Cassetes.Clear();
     _cassetes.Clear();
     Get();
 }