Пример #1
0
        public IActionResult GetMemberById(string id)
        {
            ResponseAllMember response = new ResponseAllMember();
            var member = _memberServices.GetById(id);

            Global.Mapper.Map(member, response);
            if (!member.Equals(""))
            {
                return(Ok(response));
            }
            else
            {
                return(NotFound());
            }
        }