Beispiel #1
0
 public ApiResponse Post([FromBody] TripModel value)
 {
     return(value.Insert());
 }
Beispiel #2
0
 public ApiResponse Post([FromBody] TripModel trip)
 {
     return(trip.Insert(Configuration.GetConnectionString("MySQL")));
 }