コード例 #1
0
        public IHttpActionResult GetUserByID(int ID)
        {
            AppUserTable item = appUserService.GetByID(ID);

            return(Ok(new AppUserDto {
                username = item.Username, password = item.Password, ID = item.UserID
            }));
        }