Esempio n. 1
0
 public async Task <IActionResult> AssignExerciseToUsers(int GroupId, int ExerciseId, AssignExerciseVM assignExerciseVM)
 {
     if (ModelState.IsValid)
     {
         await exerciseRepository.AssignExerciseToUsers(GroupId, ExerciseId, assignExerciseVM);
     }
     return(RedirectToAction("Index"));
 }