Ejemplo n.º 1
0
        public async Task <List <Set> > GetSetsFromExerciseAsync(Exercise exercise)
        {
            List <Set> sets = await setRepository.GetSetsFromExerciseAsync(exercise, ApiUrl.BASEURL);

            foreach (Set s in sets)
            {
                s.CompletedSets = await GetCompletedSetsFromSetAsync(s);
            }
            return(sets);
        }
Ejemplo n.º 2
0
 public async Task <List <Set> > GetSetsFromExerciseAsync(Exercise exercise)
 {
     return(await setRepository.GetSetsFromExerciseAsync(exercise, ApiUrl.BASEURL));
 }