public IActionResult Delete(int id) { var jobDetails = _jobDetailsService.Get(id); if (jobDetails == null) { return(NotFound()); } _jobDetailsService.Remove(jobDetails); return(NoContent()); }
public void Remove(JobDetails JobDetails) { // delete the JobDetails _JobDetailsRepo.Remove(JobDetails); }