public async Task <ActionResult <CampusResponse> > PutCampus(int id, [FromBody] PutCampusRequest model) { var rs = await _campusService.PutCampus(id, model); if (rs == null) { return(NotFound()); } return(Ok(rs)); }
public async Task <ActionResult <CampusResponse> > PutCampus(int id, [FromBody] PutCampusRequest model) { var rs = await _campusService.PutCampus(id, model); if (rs == null) { return(NotFound()); } return(Ok(rs)); }