public IHttpActionResult StudentDetails(int id) { //promjeni ime var student = db.tsp_Student_Details(id).FirstOrDefault(); if (student == null) { return(NotFound()); } return(Ok(student)); }
public IHttpActionResult StudentDetails(int id) { //promjeni ime var student = db.tsp_Student_Details(id).FirstOrDefault(); if (student == null) { return(NotFound()); } return(Ok(student)); }