public static List <News> GetNewsBySearchkey(string searchKey) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.GetNewsBySearchKey(searchKey)); }
public static bool DeleteVideoGallery(long id) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.DeleteVideoGallery(id)); }
public static List <News> GetAllNews() { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.GetAllNews()); }
public static bool UpdateVideoGallery(VideoGallery gallery) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.UpdateVideoGallery(gallery)); }
public static long InsertVideoGallery(VideoGallery gallery) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.InsertVideoGallery(gallery)); }
public static VideoGallery GetVideoGalleryById(long id) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.GetVideoGalleryById(id)); }
public static List <VideoGallery> GetAllVideoGallery() { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.GetAllVideoGallery()); }
public static long InsertNews(News news) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.InsertNews(news)); }
public static bool UpdateNews(News news) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.UpdateNews(news)); }
public static News GetNewsById(long?id) { SqlNewsEventsProvider provider = new SqlNewsEventsProvider(); return(provider.GetNewsById(id)); }