Ejemplo n.º 1
0
        public async Task <ProfileStatisticDto> deletePost(DeletePostDto deletePostDto)
        {
            UserCondition userCondition = await _post.deletePost(deletePostDto);

            ProfileStatisticDto profileStatisticDto = _mapper.Map <ProfileStatisticDto>(userCondition);

            return(profileStatisticDto);
        }
Ejemplo n.º 2
0
 public void DeletePost(PostDTO post, string username)
 {
     _post.deletePost(post, username);
 }