常用方法
常用方法
常用方法
常用方法
public IActionResult EnrollPromotions(EnrollPromotionsRequest request) { EnrollStudentResponse response = null; try { response = _service.EnrollPromotions(request); } catch (SqlException e) { return(NotFound(e.Message)); } return(Created(nameof(response), response)); }