Ejemplo n.º 1
0
        public JsonResult OutboxMailItems(int pageNumber)
        {
            var model = new DirectMessages();

            if (_mu != null) model.GetMailPageWiseFromUser(pageNumber, PageSize, Convert.ToInt32(_mu.ProviderUserKey));

            model.AllInInbox = false;

            return Json(new
            {
                ListItems = model.ToUnorderdList
            });
        }
Ejemplo n.º 2
0
        public ActionResult Outbox()
        {
            var model = new DirectMessages();

            if (_mu != null)
                ViewBag.RecordCount = model.GetMailPageWiseFromUser(1, PageSize, Convert.ToInt32(_mu.ProviderUserKey));

            model.AllInInbox = false;

            ViewBag.DirectMessages = model.ToUnorderdList;

            return View();
        }