// GET: Admin/ExpenseDetail
        public ActionResult Index()
        {
            ExpenseDetailBLL     objExpenseDetailBLL = new ExpenseDetailBLL();
            List <ExpenseDetail> expenseTypeList     = objExpenseDetailBLL.GetAllExpenseTypeInfo();

            return(View(expenseTypeList));
        }
Beispiel #2
0
        public ActionResult Delete(int id)
        {
            DailyExpenseBLL objDailyExpenseBLL = new DailyExpenseBLL();
            var             dailyExpenseInfo   = objDailyExpenseBLL.GetDailyExpenseInfo(id);

            ExpenseDetailBLL objExpenseDetailBLL = new ExpenseDetailBLL();

            ViewBag.ExpenseDetailInfo = objExpenseDetailBLL.GetAllExpenseTypeInfo();
            return(View(dailyExpenseInfo));
        }
Beispiel #3
0
        public ActionResult Save()
        {
            ExpenseDetailBLL objExpenseDetailBLL = new ExpenseDetailBLL();
            var model = new DailyExpense
            {
                ExpenseDetailInfo = objExpenseDetailBLL.GetAllExpenseTypeInfo()
            };

            return(View(model));
        }