/// <summary> /// Store News Media Content /// </summary> /// <param name="newsMedia">newsMedia</param> /// <returns>Returns the news media content</returns> public NewsMedia StoreNewsMedia(NewsMedia newsMedia) { NewsMediaManagementComponent nmmc = new NewsMediaManagementComponent(); return nmmc.StoreNewsMedia(newsMedia); }
/// <summary> /// Retrieve List of News Media /// </summary> /// <param name="date">Created Date</param> /// <returns>Returns a List of News Media</returns> public List<NewsMedia> GetNewsMediaList(DateTime date) { NewsMediaManagementComponent nmmc = new NewsMediaManagementComponent(); return nmmc.GetNewsMediaList(date); }
/// <summary> /// Deletes the News Media Content /// </summary> /// <param name="newsMedia">newsMedia</param> /// <returns>Returns the flag if deleted</returns> public Boolean DeleteNewsMedia(NewsMedia newsMedia) { NewsMediaManagementComponent nmmc = new NewsMediaManagementComponent(); return nmmc.DeleteNewsMedia(newsMedia); }
/// <summary> /// Update News Media Content /// </summary> /// <param name="newsMedia">newsMedia</param> /// <returns>Returns the news media content</returns> public NewsMedia UpdateNewsMedia(NewsMedia newsMedia) { NewsMediaManagementComponent nmmc = new NewsMediaManagementComponent(); return nmmc.UpdateNewsMedia(newsMedia); }