public void Delete <T>(T entity) where T : class { _logger.LogInformation($"Deleting object of type {entity.GetType()}"); _spaceParkContext.Remove(entity); }