예제 #1
0
        public async Task <ActionResult> DeletePageFeedback(Guid pageFeedbackId)
        {
            try
            {
                await _feedbackService.DeletePageFeedbackAsync(pageFeedbackId);

                return(Ok());
            }
            catch (Exception ex)
            {
                return(BadRequest(new { message = $"Error occurred attempting to delete page feedback: {ex.InnerException?.Message ?? ex.Message}" }));
            }
        }