@@ -175,6 +175,14 @@ export class SavingsService {
|
||||
return this.http.put(`/savingsaccounts/${accountId}`, savingsAccount);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} accountId savings account Id
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
deleteSavingsAccount(accountId: string): Observable<any> {
|
||||
return this.http.delete(`/savingsaccounts/${accountId}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} accountId Savings Account Id
|
||||
* @param {string} command Command
|
||||
|
||||
Reference in New Issue
Block a user