public async Task <IActionResult> AddCast([FromBody] NewCastDto dto) { var errors = GetErrorListFromModelState(); if (errors.Any()) { return(BadRequest(errors)); } await _movieService.AddCastAsync(dto); return(Ok()); }