Exemplo n.º 1
0
		public Advertisement Get(int id)
		{
			AdvertService ads = new AdvertService(auth);
			Advertisement ad = ads.GetActive().First(p => p.Id == id);
			if (ad == null)
				return null;
			return ad;
		}
Exemplo n.º 2
0
		public List<Advertisement> GetAll()
		{
			AdvertService ad = new AdvertService(auth);
			return ad.GetActive();
		}