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