public IActionResult PromoteStudent(Promote_StudentRequest promotion) { var response = _service.PromoteStudents(promotion); if (response != null) { return(Ok(response)); } return(BadRequest()); }
public IActionResult PromoteStudents(Promote_StudentRequest request) { return(RespoState(_service.PromoteStudents(request))); }
public IActionResult PromoteStudents(string studies, int semester) { return(Created("", _service.PromoteStudents(semester, studies))); }