[ResponseCache(Duration = 604800)] // cache for a week public async Task <ActionResult <List <MediaTypeApiModel> > > Get(CancellationToken ct = default) { try { return(new ObjectResult(await _BlazorSupervisor.GetAllMediaTypeAsync(ct))); } catch (Exception ex) { return(StatusCode(500, ex)); } }