public ActionResult Delete(int id) { var success = pointService.Delete(id); if (success) { return(Ok()); } else { return(NotFound()); } }