常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> AddFeedbackMessage(FeedbackMessageAddDTO model) { try { var data = await _feedbackService.AddFeedbackMessageAsync(model); return(Ok(data)); } catch (UnauthorizedAccessException) { return(Unauthorized()); } catch (Exception e) { return(BadRequest(new { e.Message })); } }