public async Task <IActionResult> DeleteArtConfirmExhibit(string Id) { try { Artwork artwork = await ArtRepository.DeleteArtworkFromExhibit(_hostEnvironment, Id); } catch (Exception ex) { return(View(ex)); } return(Json(Id)); }
public async Task <IActionResult> DeleteArtConfirmExhibit(string Id) { try { Artwork artwork = await ArtRepository.DeleteArtworkFromExhibit(_hostEnvironment, Id); } catch (Exception ex) { return(View(ex)); } return(Json(Id)); }