示例#1
0
        public async Task <IActionResult> DeleteComment(int id)
        {
            var result = await _feedbackService.DeleteComment(CurrentUser.TenantId, id);

            if (result.Code <= 0)
            {
                return(BadRequest(result));
            }
            return(Ok(result));
        }