private async Task <sr <SlideDeckProgram> > GetAny(object any)
 {
     return(await _base.Get <SlideDeckProgram>($"api/slideDeckProgram/{any}"));
 }
Exemple #2
0
        public async Task <sr <List <UserAccessSlideDeckProgram> > > GetViaUserAvatar(int id)
        {
            var response = await _base.Get <List <UserAccessSlideDeckProgram> >($"api/UserAccessSlideDeckProgram/userAvatar/{id}");

            return(response);
        }
 public async Task <sr <List <BlogPost> > > GetAllPublished()
 {
     return(await _base.Get <List <BlogPost> >("api/blog"));
 }
 public async Task <sr <List <CompletedProgramReviewable> > > GetUnreviewd()
 {
     return(await _base.Get <List <CompletedProgramReviewable> >("api/CompletedProgramReviewables/unreviewd"));
 }
Exemple #5
0
        public async Task <sr <UserAvatar> > GetActive()
        {
            var response = await _base.Get <UserAvatar>($"api/useravatar/foruserActive");

            return(response);
        }
 public async Task <sr <List <CompletedSlideDeckProgram> > > GetAll(UserAvatar userAvatar)
 {
     return(await _base.Get <List <CompletedSlideDeckProgram> >($"api/CompletedSlideDeckProgram/all/{userAvatar.Id}"));
 }
Exemple #7
0
 private async Task <sr <SlideDeck> > GetAny(object any)
 {
     //TODO: id 3 issues
     return(await _base.Get <SlideDeck>($"api/slideDeck/{any}"));
 }