private void DeleteSweatyTShirt(long sweatyTShirtID) { using (CompetitionRepository competitionRepository = new CompetitionRepository()) { competitionRepository.DeleteSweatyTShirt(sweatyTShirtID); } TempData[ControllerHelpers.PURR] = new Purr() { Title = "Success", Message = "The Sweaty-T-Shirt was successfully deleted." }; }