public IHttpActionResult PohadjeniPredmeti(int id) { //promjeni ime var student = db.Students.Find(id); if (student == null) { return(NotFound()); } return(Ok(db.tsp_Student_PohadajniPredmeti(id).ToList())); }
public IHttpActionResult PohadjeniPredmeti(int id) { //promjeni ime var student = db.Students.Find(id); if (student == null) { return(NotFound()); } return(Ok(db.tsp_Student_PohadajniPredmeti(id).ToList())); }