常用方法
常用方法
常用方法
常用方法
public IHttpActionResult GetTeachersClasses(Guid id) { List <Class> classes = db.GetTeachersClasses(id); if (classes == null) { return(NotFound()); } return(Ok(classes)); }
public IHttpActionResult GetTeachersClasses(Guid id) { List <Class> classes = db.GetTeachersClasses(id); if (classes == null) { return(NotFound()); } return(Ok(classes)); }