Esempio n. 1
0
        public ActionResult <MemberDTO_Return> GetSingleMember([FromRoute] string Member_ID)
        {
            var member = _memberService.GetMember(new Guid(Member_ID));

            if (member == null)
            {
                return(BadRequest("Not valid"));
            }

            return(Ok(_memberMapper.MemberToDTOReturn(member)));
        }