Exemple #1
0
        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);
        }
Exemple #2
0
 public void LockingExpenseDelete(LockingExpense lockingExpense)
 {
     LockingExpenseRepository.Delete(lockingExpense);
 }
Exemple #3
0
 public void LockingExpenseSaveOrUpdate(LockingExpense lockingExpense)
 {
     LockingExpenseRepository.SaveOrUpdate(lockingExpense);
 }