public IActionResult AddGenre([FromBody] Genres genre) { try { _movies.AddGenre(genre); return(Ok()); } catch (Exception) { return(StatusCode(500)); } }