public async Task <TAtypeEntity> UpdateEntity(TAtypeEntity entity)
 {
     return(await _state.UpdateEntity(entity, _logger, _context));
 }