public async Task <IActionResult> DeleteMovie(int id) { try { await _moviesService.DeleteAndSaveAsync(id); } catch (Exception) { return(NotFound()); } return(NoContent()); }