private async Task GetElements()
 {
     Elements = await _elementRepository.GetAll();
 }