예제 #1
0
        public async Task <IActionResult> GetMember([FromRoute] string username)
        {
            var member = await repo.FindMember(username);

            if (member == null)
            {
                return(NotFound(username));
            }

            return(Ok(member));
        }