コード例 #1
0
        public async Task <IActionResult> DeletePostComment(Guid id)
        {
            {
                var result = await _commentForPostService.DeletePostComment(id);

                if (result.Equals(true))
                {
                    return(Ok());
                }
                //If something went wrong
                return(BadRequest(Constants.Errors.OperationError));
            }
        }