public IActionResult DeleteElement(int elementId)
        {
            var isSuccessful = _elementRepository.DeleteElement(elementId);

            if (!isSuccessful)
            {
                return(BadRequest());
            }
            return(Ok());
        }