void IBannerDataAccess.Remove(string customerID) { Banner objbanner = objcontext.BannerItems.Where(x => x.Id == customerID).First(); objcontext.BannerItems.Remove(objbanner); }
Banner IBannerDataAccess.Get(string bannerId) { Banner objbanner = objcontext.BannerItems.Where(x => x.Id == bannerId).First(); return(objbanner); }