public AddUpdateChannelViewModel(Window window, Models.Channel.Entities.Channel channel = null) : base(window)
        {
            mWindow             = window;
            WindowMinimumHeight = 650;
            WindowMinimumWidth  = 800;

            Title   = channel != null ? $"Kanal Güncelle: {channel.Name}" : "Kanal Ekle";
            Channel = channel ?? new Models.Channel.Entities.Channel();

            ChannelTypes = Enum.GetValues(typeof(Models.Channel.Enums.ChannelType)).Cast <Models.Channel.Enums.ChannelType>().ToObservableCollection();


            CloseCommand = new RelayCommand(p =>
            {
                AddOrUpdate();

                mWindow.Close();
            });

            AddLogoCommand     = new RelayCommand(p => AddLogo());
            AddCategoryCommand = new RelayCommand(p => AddCategory());

            Countries    = new ObservableCollection <Country>();
            Categories   = new ObservableCollection <Category>();
            ChannelTypes = Enum.GetValues(typeof(ChannelType)).Cast <ChannelType>().ToObservableCollection();

            LoadCountries();
            LoadCategories();
        }
        public CapturesListViewModel(Window window, Models.Channel.Entities.Channel channel) : base(window)
        {
            mWindow             = window;
            WindowMinimumHeight = 850;
            WindowMinimumWidth  = 800;

            Title   = $"{channel.Name} Kanalına Ait Kayıtlar";
            Channel = channel;

            Captures = new ObservableCollection <Capture>();

            GoToPageCommand             = new RelayParameterizedCommand(GoToPage);
            SearchChangedCommand        = new RelayParameterizedCommand(SearchChanged);
            OpenAndSelectCaptureCommand = new RelayParameterizedCommand(OpenAndSelectCapture);
            DeleteCaptureCommand        = new RelayParameterizedCommand(DeleteCapture);

            LoadCaptures();
        }