예제 #1
0
        public async Task <ActionResult <string> > DeleteComedian(Guid id)
        {
            BaseResponseDto <MyUserDto> getResponse = await _myUserService.DeleteUser(id);

            if (!getResponse.HasError)
            {
                return(Ok(getResponse.Data));
            }
            else
            {
                return(BadRequest(getResponse.Errors));
            }
        }