[This is preliminary documentation and is subject to change.]
Deletes a particular expense identified by ExpenseId.
Namespace:
OfficeClip.DBLayer.TEAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int DeleteExpense( int expenseId, int currentUserId, bool isCurrentUserAdmin ) |
Visual Basic (Declaration) |
---|
Public Function DeleteExpense ( _ expenseId As Integer, _ currentUserId As Integer, _ isCurrentUserAdmin As Boolean _ ) As Integer |
Visual C++ |
---|
public: int DeleteExpense( int expenseId, int currentUserId, bool isCurrentUserAdmin ) |
Parameters
- expenseId
- Type: System..::.Int32
Id of the expense which needs to be deleted.
- currentUserId
- Type: System..::.Int32
The unique id of the current user
- isCurrentUserAdmin
- Type: System..::.Boolean
Is the current user an administrator