package service;

import model.advertisement;

public interface AdService {
	public void uploadAd(model.seller seller,String adtitle,String adimage);
	public advertisement checkAd(String adtitle);

}

@@ -13,16 +13,68 @@
 ice;%0D%0A%0D%0A
+import java.util.List;%0D%0A%0D%0Aimport model.ad_present;%0D%0A
 import m
@@ -126,24 +126,27 @@
 vice %7B%0D%0A
+%09%0D%0A
 %09public 
 void upl
@@ -141,119 +141,288 @@
 lic 
-void uploadAd(model.seller s
+List%3Cad_present%3E getAd();%0D%0A%09%0D%0A%09public List%3Cadvertisement%3E getAdByS
 eller
-,
+ID(
 String 
-adtitle,String adimage);%0D%0A%09public advertisement checkAd(String adtitle
+id);%0D%0A%09%0D%0A%09public int getNumberOfAdBySellerID(String id);%0D%0A%09%0D%0A%09public boolean addAd(advertisement newad);%0D%0A%09%0D%0A%09public advertisement getAdByAdID(String id);%0D%0A%09%0D%0A%09public boolean editAdd(advertisement ad
 );%0D%0A

Update AdService.java