Beispiel #1
0
        public async Task <sr <UserAvatar> > SetActive(UserAvatar userAvatar)
        {
            await Mediator.Send(new ActiveUserAvatarState.ChangeActiveUserAvatarAction {
                UserAvatar = userAvatar
            });

            return(await _base.Put <int, UserAvatar>($"api/userAvatar/setactive/{userAvatar.Id}", userAvatar.Id));
        }
 //TODO: add DTOs
 public async Task <sr <bool> > Upload(CompletedProgramReviewable reviewable)
 {
     return(await _base.Put <CompletedProgramReviewable>($"api/CompletedProgramReviewables", reviewable));
 }