protected async override Task OnInitializedAsync()
        {
            try
            {
                IsLoading = true;

                ShowAvailableJobsButton = FeatureClientService.IsFeatureEnabled(Common.Global.Enums.FeatureType.VideoJobSystem);
                this.AllVideos          = await this.VideoClientService.GetMyProcessedVideosAsync();
            }
            catch (Exception ex)
            {
                this.ToastifyService.DisplayErrorNotification(ex.Message);
            }
            finally
            {
                IsLoading = false;
            }
        }
 protected override async Task OnInitializedAsync()
 {
     if (!FeatureClientService.IsFeatureEnabled(Common.Global.Enums.FeatureType.VideoJobSystem))
     {
         NavigationManager.NavigateTo("/");
         return;
     }
     try
     {
         IsLoading = true;
         await LoadJobs();
     }
     catch (Exception ex)
     {
         ToastifyService.DisplayErrorNotification(ex.Message);
     }
     finally
     {
         IsLoading = false;
     }
 }
        protected override async Task OnInitializedAsync()
        {
            try
            {
                IsLoading = true;
                ShowAvailableJobsButton      = FeatureClientService.IsFeatureEnabled(FeatureType.VideoJobSystem);
                this.NewCommentModel.VideoId = this.VideoId;
                string baseUrl        = this.NavigationManager.BaseUri;
                var    ogThumbnailurl = Constants.ApiRoutes.OpenGraphController.VideoThumbnail.Replace("{videoId}", this.VideoId);
                this.VideoThumbnailUrl = $"{baseUrl}{ogThumbnailurl}";
                this.VideoModel        = await this.VideoClientService.GetVideoAsync(VideoId);
                await LoadComments();

                if (AuthenticationStateTask is not null)
                {
                    var state = await AuthenticationStateTask;
                    if (state is not null && state.User is not null && state.User.Identity.IsAuthenticated)
                    {
                        var myVideos = await VideoClientService.GetMyProcessedVideosAsync();

                        if (myVideos.Any(p => p.VideoId == this.VideoId) &&
                            FeatureClientService.IsFeatureEnabled(FeatureType.VideoJobSystem))
                        {
                            //Logged in user is current video's owner
                            ShowAddVideoJobButton = true;
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                ToastifyService.DisplayErrorNotification(ex.Message);
            }
            finally
            {
                IsLoading = false;
            }
        }