public IActionResult Delete(int id) { _engineerRepository.Remove(id); return(Ok()); }
public void Remove(int Id) { repo.Remove(Id); }