자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public async Task <bool> UpdatePostAsync(string postId, PostDto post) { var result = ValidateId(postId); CheckIfIdNotEqualToChildId(result, post.PostId); ValidatePostBeforeSave(post); return(!(await _postServices.Update(result, post) is null)); }