//Delete public void DeleteContinent(int Id) { using (var repository = new ContinentRepository()) { repository.RemoveContinent(Id); } }