public async Task <ProfileStatisticDto> deletePost(DeletePostDto deletePostDto) { UserCondition userCondition = await _post.deletePost(deletePostDto); ProfileStatisticDto profileStatisticDto = _mapper.Map <ProfileStatisticDto>(userCondition); return(profileStatisticDto); }
public void DeletePost(PostDTO post, string username) { _post.deletePost(post, username); }