public IActionResult ActorDetails(int id) { var result = _actorService.ActorDetails(id); if (!result.Success) { return(BadRequest(result.Message)); } return(Ok(result.ActorDetails)); }