public IActionResult DeleteMovie(int id) { if (_service.DeleteMovie(id)) { return(Ok()); } else { return(StatusCode(StatusCodes.Status500InternalServerError)); } }