public async Task DeleteTheme(long id, string accessToken) { await _apiUtil.DeleteAsync <ThemeViewModel>($"{_config.Value.Urls.Api.Https}/api/themes/{id}", accessToken); }
public async Task <MentorDto> DisableMentorAsync(long id, string accessToken) { return(await _apiUtil.DeleteAsync <MentorDto>($"{_config.Value.Urls.Api.Https}/api/mentors/{id}", accessToken)); }
public async Task <StudentDto> DisableStudentAsync(long id, string accessToken) { var disabledStudent = await _apiUtil.DeleteAsync <StudentDto>($"{_config.Value.Urls.Api.Https}/api/students/{id}", accessToken); return(disabledStudent); }