public IHttpActionResult Post(StudentCreate course) { var service = new StudentServicecs(); service.CreateStudent(course); return(Ok()); }
public IHttpActionResult GetAll() { StudentServicecs repo = new StudentServicecs(); var list = repo.GetStudent(); return(Ok(list)); }