public async Task <ActionResult <Anime> > UpdateAnime(string anime, string update) { try{ return(new OkObjectResult(await _animeService.UpdateAnime(anime, update))); } catch (Exception ex) { return(new StatusCodeResult(500)); } }
public async Task <ActionResult <Anime> > UpdateAnime(string anime, string update) { try{ return(new OkObjectResult(await _animeService.UpdateAnime(anime, update))); } catch (Exception ex) { return(new StatusCodeResult(500)); } }