Пример #1
0
        public IActionResult SaveMemberParams(Member newMember)
        {
            MemberServices memberService = new MemberServices();


            string returnValue = memberService.SaveMember(newMember);

            if (returnValue.Equals("success"))
            {
                HttpContext.Session.SetInt32("memberId", newMember.MemberId);
            }

            return(Content(returnValue));
        }