Beispiel #1
0
 public async Task <ActionResult <List <ArtistApiModel> > > Get(CancellationToken ct = default)
 {
     try
     {
         return(new ObjectResult(await _BlazorSupervisor.GetAllArtistAsync(ct)));
     }
     catch (Exception ex)
     {
         return(StatusCode(500, ex));
     }
 }