Пример #1
0
        public async Task <long> DeletePost(long postId)
        {
            long result = 0;

            result = await dep.DeletePost(postId);

            if (result == 0)
            {
                return(0);
            }
            return(result);
        }