예제 #1
0
 public IActionResult Delete([FromBody] Movie movie)
 {
     return(Ok(db.DeleteEmployee(movie.Id)));
 }
예제 #2
0
 public IActionResult Delete([FromBody] Employee employee)
 {
     return(Ok(db.DeleteEmployee(employee.Id)));
 }