// // GET: /Sends/Deferred?sendID= public ActionResult Deferred(string sendID, int page = 1, int pageSize = 25) { int bounceCount = TransactionDB.GetDeferredCount(sendID); int pageCount = (int)Math.Ceiling(bounceCount / Convert.ToDouble(pageSize)); return(View(new SendReportBounces(TransactionDB.GetDeferralInfo(sendID, page, pageSize), sendID, page, pageCount))); }