public async Task <ActionResult> GetSubscriptionsStatisticsAsync(string userPrimaryKey = null)
        {
            if (String.IsNullOrEmpty(userPrimaryKey))
            {
                userPrimaryKey = System.Web.HttpContext.Current.Session["PrimaryKey"].ToString();
            }
            var user = new ApplicationUser();

            user = await _repository.GetAsync <ApplicationUser>(x => x.InstagramPK == userPrimaryKey);

            var subscriptionsStatistics = new SubscriptionsStatisticsViewModel();

            subscriptionsStatistics.UserName          = System.Web.HttpContext.Current.Session["UserName"].ToString();
            subscriptionsStatistics.ProfilePictureUrl = await _instaApi.GetUserProfilePictureUriByPrimaryKeyAsync(userPrimaryKey);

            // Get current followers list
            List <ApplicationUser> currentSubscriptionsList = await _instaApi.GetUserSubscriptionsByUsernameAsync(user.Username);

            // Get unsubscribed followers
            foreach (var subscription in user.Subscriptions)
            {
                if (!currentSubscriptionsList.Contains(subscription))
                {
                    subscriptionsStatistics.UnsubscribedSubscriptions.Add(subscription);
                }
            }
            // Get new subscription
            foreach (var subscription in currentSubscriptionsList)
            {
                if (!user.Subscriptions.Contains(subscription))
                {
                    subscriptionsStatistics.NewSubscriptions.Add(subscription);
                }
            }
            //If there are changes, then save them in the database
            if (subscriptionsStatistics.NewSubscriptions.Count > 0 || subscriptionsStatistics.UnsubscribedSubscriptions.Count > 0)
            {
                user.Subscriptions.Clear();

                foreach (var sub in currentSubscriptionsList)
                {
                    user.Subscriptions.Add(sub);
                }

                user.LastUpdateDate = DateTime.Now;

                await _repository.UpdateAsync <ApplicationUser>(user);
            }

            return(PartialView(subscriptionsStatistics));
        }