コード例 #1
0
        public MessageModel <UserDetailDTO> GetUserDetail([FromRoute, SwaggerParameter("id,可從/useradmin取得", Required = true)] int id)
        {
            UserDetailDTO userDetail = userAdminService.GetUserDetail(id);

            return(new MessageModel <UserDetailDTO>
            {
                Data = userDetail
            });
        }