예제 #1
0
 public ActionResult Post([FromBody] Student student)
 {
     _logic.VerifyStudent(student);
     _crud.Add <Student>(student);
     return(Ok());
 }
예제 #2
0
 public ActionResult PostBook(BookPoco book)
 {
     _ef.Add(book);
     return(Ok());
 }
예제 #3
0
 public ActionResult PostUserInfo(UserPoco user)
 {
     _ef.Add(user);
     return(Ok());
 }