public async Task <ActionResult> DeleteprofileFromCurrentGroup(string profileid)
        {
            User   objUser         = (User)Session["User"];
            string selectedgroupid = Session["selectedgroupid"].ToString();
            string output          = string.Empty;

            HttpResponseMessage response = await WebApiReq.DelReq("api/ApiGroupProfiles/DeleteProfileFromGroup?profileid=" + profileid + "&groupid=" + selectedgroupid + "&userid=" + objUser.Id, "Bearer", Session["access_token"].ToString());

            if (response.IsSuccessStatusCode)
            {
                output = await response.Content.ReadAsAsync <string>();
            }


            //Api.GroupProfile.GroupProfile ApiobjGroupProfile = new Api.GroupProfile.GroupProfile();
            //ApiobjGroupProfile.DeleteProfileFromGroup(profileid, selectedgroupid, objUser.Id.ToString());
            return(Content(""));
        }