Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. [Authorize(ReadIndexes)]
  2. public async Task<IActionResult> GetIndexes ()
  3. {
  4. ...
  5. }
  6.  
  7. ##????##
  8. getIndexes(): Observable<Index[]> {
  9. if(checkPerms("ReadIndexes")===true){
  10. ...
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement