Esempio n. 1
0
        public ActionResult GetDetailedTransactions(long accountNumber, int fromDate, int fromMonth, int fromYear, int toDate, int toMonth, int toYear)
        {
            List<TransactionStatementViewModel> transactionsList = new List<TransactionStatementViewModel>();

            DateTime startDate = new DateTime(fromYear, fromMonth, fromDate);
            DateTime endDate = new DateTime(toYear, toMonth, toDate);

            if (Session["User"] == null)
                return RedirectToAction("Login", "CommonBiz");

            CustomerDAL customerDALObject = new CustomerDAL();
            long customerID = (Session["User"] as UserRole).customerID;

            return Json(customerDALObject.GetDetailedTransactions(accountNumber, startDate, endDate));
        }