Esempio n. 1
0
 public IActionResult Delete(int id)
 {
     return(ApiAction(() =>
     {
         _consultantService.Delete(id);
         return Accepted();
     }));
 }
Esempio n. 2
0
 public IActionResult Delete(Consultant consultant)
 {
     consultantService.Delete(consultant);
     return(NoContent());
 }
Esempio n. 3
0
 public IActionResult Delete([FromBody] Consultant c)
 {
     service.Delete(c);
     return(NoContent());
 }