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