public IActionResult DeleteCategory(int categoryId)
        {
            var isSuccessful = _elementRepository.DeleteElementCategory(categoryId);

            if (!isSuccessful)
            {
                return(BadRequest("Category used on elements"));
            }
            return(Ok());
        }