Ejemplo n.º 1
0
        public ActionResult GetAllExpensePayments()
        {
            if (!User.Identity.IsAuthenticated)
            {
                return(RedirectToAction("Login", "Account"));
            }
            var expenses = new ExpenseInvoicePaymentsSC().GetAllExpensePayments();

            return(GetJsonNetResult(expenses));
        }
Ejemplo n.º 2
0
        // GET: ExpenseInvoicePayment
        public ActionResult ExpensePaymentsList()
        {
            if (!User.Identity.IsAuthenticated)
            {
                return(RedirectToAction("Login", "Account"));
            }
            var backendData = new ExpenseInvoicePaymentsSC().GetExpensePaymentsViewBagData();

            ViewBag.backendData = SerializeJSONData(backendData);
            return(View());
        }