public async Task <bool> DeletePromotionAsync(int id) { await validatePromotion(id); await premierLeagueRepository.DeletePromotionAsync(id); if (await premierLeagueRepository.SaveChangesAsync()) { return(true); } return(false); }
public async Task <bool> DeletePromotionAsync(int id) { await validatePromotion(id); await premierLeagueRepository.DeletePromotionAsync(id); if (await premierLeagueRepository.SaveChangesAsync()) { return(true); } return(false); }