// DELETE api/jobs/(guid)
 public IHttpActionResult Delete(Guid id)
 {
     return(_repository.Cancel(id) != null?Ok() : (IHttpActionResult)NotFound());
 }