public ActionResult MemberDetails(int?SellerID)
        {
            if (Session["ID"] != null)
            {
                int  id         = Convert.ToInt32(Session["ID"]);
                int  RoleMember = Convert.ToInt32(Enums.UserRoleId.Member);
                User user       = db.Users.Where(x => x.ID == id).FirstOrDefault();
                if (user.RoleID != RoleMember)
                {
                    User        userData              = db.Users.Where(x => x.ID == SellerID).FirstOrDefault();
                    UserProfile userProfileData       = db.UserProfiles.Where(x => x.UserID == SellerID).FirstOrDefault();
                    AdminMemberDetailsViewModel Model = new AdminMemberDetailsViewModel();
                    if (userData != null)
                    {
                        Model.user = userData;
                    }
                    if (userProfileData != null)
                    {
                        Model.userProfile = userProfileData;
                    }
                    if (SellerID != null)
                    {
                        List <NewGetMembersDetails_Result> getData = db.NewGetMembersDetails(SellerID).ToList();
                        Model.getMembersDetails_Results = getData;
                        Model.SellerID = (int)SellerID;
                    }

                    return(View(Model));
                }
                else
                {
                    return(RedirectToAction("Index", "Home"));
                }
            }
            else
            {
                return(RedirectToAction("Login", "Account"));
            }
        }