public void Edit(Studio studio) { try { _studioRepository.Edit(studio); _logger.LogInformation("Studio was updated!"); } catch (Exception exception) { _logger.LogError("An error occurred while updating a studio" + " | " + exception); throw; } }