public IActionResult GetByActor(string Actor) { try { return(Ok(_service.GetByActor(Actor))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public IActionResult GetByActor(string lastName) { return(Ok(_service.GetByActor(lastName))); }