常用方法
常用方法
常用方法
常用方法
public async Task PostComment(long id, [FromBody] BlogPostComment comment) { await _postsRepo.AddCommentAsync(id, comment); }
public async Task PostComment(long id, [FromBody] BlogPostComment comment) { await _postsRepo.AddCommentAsync(id, comment); }