public bool addnews(NewsModel newsModel)
 {
     NewsService newsService = new NewsService();
     int nid = 0;
     nid = newsService.insert(newsModel);
     if (nid == 0)
     {
         return false;
     }
     else
     {
         return true;
     }
 }
 public bool delete(int[] toBeDeleted)
 {
     NewsService newsService = new NewsService();
     return (newsService.delete(toBeDeleted) == true);
 }
 public NewsModel[] getAllNewsList()
 {
     NewsModel[] newsModelList;
     newsModelList = new NewsService().getAllNews();
     return newsModelList;
 }