// GET: Admin/ExpenseDetail public ActionResult Index() { ExpenseDetailBLL objExpenseDetailBLL = new ExpenseDetailBLL(); List <ExpenseDetail> expenseTypeList = objExpenseDetailBLL.GetAllExpenseTypeInfo(); return(View(expenseTypeList)); }
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)); }
public ActionResult Save() { ExpenseDetailBLL objExpenseDetailBLL = new ExpenseDetailBLL(); var model = new DailyExpense { ExpenseDetailInfo = objExpenseDetailBLL.GetAllExpenseTypeInfo() }; return(View(model)); }