public IHttpActionResult Delete(int id) { var employment = service.GetById(id); service.Delete(employment.Id); return(Ok()); }