Exemplo n.º 1
0
 public TransactionResult <object> BL_DeleteExpense(int p_ExpenseId)
 {
     if (DALObj.DAL_DeleteExpense(p_ExpenseId).TransactionResult)
     {
         return(new TransactionResult <object>
         {
             Success = true,
             Message = "Expense Deletion Successful"
         });
     }
     else
     {
         return(new TransactionResult <object>
         {
             Success = false,
             Message = "Something Went Wrong,Please try again"
         });
     }
 }