public IActionResult GetCategories([FromQuery] string name)
 {
     return(Ok(_elementRepository.GetElementCategories(name)));
 }