Exemplo n.º 1
0
        public async Task <IActionResult> DeleteProfileComment(Guid id)
        {
            {
                var result = await _commentForProfileService.DeleteProfileComment(id);

                if (result.Equals(true))
                {
                    return(Ok());
                }

                return(BadRequest(Constants.Errors.OperationError));
            }
        }