public void DeleteTestStory(int id) { try { Story story = _repository.GetById(id); _repository.Delete(story); } catch (Exception ex) { _logger.LogError(ex.Message); } }