常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> Comment(CommentsViewModel model) { model.userId = Guid.Parse(GetUser().Result.Id); await commentsService.CommentOnPost(model); return(Ok()); }
public async Task <IActionResult> Comment(CommentsViewModel model) { model.userId = Guid.Parse(GetUser().Result.Id); await commentsService.CommentOnPost(model); return(Ok()); }