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