public IHttpActionResult DeleteFilm(int id) { bool result; result = filmRepository.DeleteById(id); if (result == false) { return(NotFound()); } return(Ok()); }