Exemplo n.º 1
0
        public ActionResult EditMember(string id)
        {
            MembersBLL  obj = new MembersBLL();
            GroupsGroup cmd = new GroupsGroup();

            cmd.personalInfo = obj.GetSingleMemberDetails(id);
            return(View(cmd));
        }
Exemplo n.º 2
0
        public ActionResult UpdateMember(GroupsGroup memb)
        {
            MembersBLL MembBLL = new MembersBLL();

            memb.personalInfo.Updated_By = Convert.ToString(Session["AdminId"]);
            bool status = MembBLL.UpdateMemberDetails(memb.personalInfo);

            return(RedirectToAction("Index", "Members"));
        }
Exemplo n.º 3
0
        public ActionResult MemberDetails(string id)
        {
            MembersBLL  obj  = new MembersBLL();
            GroupsBLL   obj1 = new GroupsBLL();
            GroupsGroup cmd  = new GroupsGroup();

            cmd.personalInfo = obj.GetSingleMemberDetails(id);
            cmd.HisGroups    = obj1.getHisGroupsDetails(id);
            cmd.JoinedGroups = obj1.getJoinedGroupsDetails(id);
            cmd.HisContacts  = obj.GetMemberContactsDetails(id);
            return(View(cmd));
        }