public async Task <ActionResult <GenreApiModel> > Post([FromBody] GenreApiModel input, CancellationToken ct = default) { try { if (input == null) { return(BadRequest()); } return(StatusCode(201, await _BlazorSupervisor.AddGenreAsync(input, ct))); } catch (Exception ex) { return(StatusCode(500, ex)); } }