Пример #1
0
 public IActionResult Post([FromBody] Course course)
 {
     _dbContext.Add(course);
     return(Ok());
 }
 public IActionResult Post([FromBody] Exam exam)
 {
     _dbContext.Add(exam);
     return(Ok());
 }