protected void btnLockDate_Click(object sender, EventArgs e) { var lockingExpense = LockingExpense; if (lockingExpense == null) { lockingExpense = new LockingExpense(); } lockingExpense.Date = Date; BookingReportBLL.LockingExpenseSaveOrUpdate(lockingExpense); ShowSuccess("Locked date successfully"); Response.Redirect(Request.RawUrl); }
public void LockingExpenseDelete(LockingExpense lockingExpense) { LockingExpenseRepository.Delete(lockingExpense); }
public void LockingExpenseSaveOrUpdate(LockingExpense lockingExpense) { LockingExpenseRepository.SaveOrUpdate(lockingExpense); }