public void Edit(Entities.AdManage updatedAd)
 {
     _ctx.Entry(updatedAd).State = EntityState.Modified;
     SaveAll();
 }
 public void AddAd(Entities.AdManage newAd)
 {
     _ctx.AdManage.Add(newAd);
 }