예제 #1
0
        void IBannerDataAccess.Remove(string customerID)
        {
            Banner objbanner = objcontext.BannerItems.Where(x => x.Id == customerID).First();

            objcontext.BannerItems.Remove(objbanner);
        }
예제 #2
0
        Banner IBannerDataAccess.Get(string bannerId)
        {
            Banner objbanner = objcontext.BannerItems.Where(x => x.Id == bannerId).First();

            return(objbanner);
        }