public ActionResult LoadData(int page, int size, string date,string payment)
        {
            var totalRecord = new NewspaperData().CountData(page, size, date, payment);
            var totalTemp = Convert.ToDecimal(totalRecord) / Convert.ToDecimal(size);
            var totalPages = Convert.ToInt32(Math.Ceiling(totalTemp));
            var model = new NewspaperViewModel()
            {
                ListItem = new NewspaperData().GetData(page, size, date, payment),
                TotalRecords = Convert.ToInt32(totalRecord),
                TotalPages = totalPages,
                CurrentPage = page,
                PageSize = size
            };

            return PartialView("_DataResult", model);
        }
 public ActionResult Index()
 {
     var model = new NewspaperViewModel();
     return View(model);
 }