feat: add manage surveys component (#343)

Fixes #186
This commit is contained in:
pwai
2018-12-09 19:29:55 +05:30
committed by Abhay Chawla
parent ed94d7492d
commit e40158bd6e
9 changed files with 244 additions and 3 deletions
+7
View File
@@ -46,6 +46,13 @@ export class SystemService {
return this.http.get('/codes');
}
/**
* @returns {Observable<any>} Fetches Surveys.
*/
getSurveys(): Observable<any> {
return this.http.get('/surveys');
}
/**
* @param {any} code Code to be created.
* @returns {Observable<any>}