Exemplo n.º 1
0
 public IActionResult OnPost()
 {
     if (!ModelState.IsValid)
     {
         return(Page());
     }
     _courseSerervice.AddGroup(CourseGroups);
     return(RedirectToPage("Index"));
 }