public IActionResult GetById(int id) { var result = _imagesService.GetImagesByFilmId(id); if (result.Success) { return(Ok(result.Data)); } return(BadRequest(result)); }