public async Task<ActionResult> BindInboxMessage(string load, string arrmsgtype, string arrid)
        {
            string AllProfileId = string.Empty;
            string MessageType = string.Empty;
            List<Domain.Socioboard.Domain.InboxMessages> lstmsg = new List<Domain.Socioboard.Domain.InboxMessages>();
            Api.InboxMessages.InboxMessages ApiInboxMessages = new Api.InboxMessages.InboxMessages();
            Domain.Socioboard.Domain.User objUser = (Domain.Socioboard.Domain.User)Session["User"];
            if (load == "first")
            {
                Dictionary<Domain.Socioboard.Domain.GroupProfile, object> allprofileofuser = new Dictionary<Domain.Socioboard.Domain.GroupProfile, object>();
                try
                {
                    allprofileofuser = await SBHelper.GetGroupProfiles();
                }
                catch (Exception Err)
                {
                    Console.Write(Err.StackTrace);
                }
                foreach (var item in allprofileofuser)
                {
                    try
                    {
                        if (item.Key.ProfileType == "facebook" || item.Key.ProfileType == "twitter")
                        {
                            AllProfileId += item.Key.ProfileId + ",";
                        }
                    }
                    catch (Exception Err)
                    {
                        Console.Write(Err.StackTrace);
                    }
                }
                try
                {
                    AllProfileId = AllProfileId.Substring(0, (AllProfileId.Length - 1));
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.StackTrace);
                }
                inboxmessagecount = 0;
                MessageType = "twt_followers,twt_mention,twt_retweet,fb_notification";
                //lstmsg = (List<Domain.Socioboard.Domain.InboxMessages>)new JavaScriptSerializer().Deserialize(ApiInboxMessages.GetInboxMessage(objUser.Id.ToString(), AllProfileId, MessageType, "0", "10"), typeof(List<Domain.Socioboard.Domain.InboxMessages>));
            }
            else if (load == "filter")
            {
                inboxmessagecount = 0;
                AllProfileId = arrid;
                MessageType = arrmsgtype;
                //lstmsg = (List<Domain.Socioboard.Domain.InboxMessages>)new JavaScriptSerializer().Deserialize(ApiInboxMessages.GetInboxMessage(objUser.Id.ToString(), AllProfileId, MessageType, "0", "10"), typeof(List<Domain.Socioboard.Domain.InboxMessages>));
            }
            else if (load == "scroll")
            {
                inboxmessagecount = inboxmessagecount + 10;
                AllProfileId = arrid;
                MessageType = arrmsgtype;

            }
            lstmsg = (List<Domain.Socioboard.Domain.InboxMessages>)new JavaScriptSerializer().Deserialize(ApiInboxMessages.GetInboxMessage(objUser.Id.ToString(), AllProfileId, MessageType, inboxmessagecount.ToString(), "10"), typeof(List<Domain.Socioboard.Domain.InboxMessages>));
            if (lstmsg.Count > 0)
            {
                return PartialView("_InboxPartial", lstmsg);
            }
            else
            {
                return Content("no_data");
            }
        }