// DELETE: api/Filme/5 public IHttpActionResult Delete(Guid id) { try { _appService.Remover(id); return(Ok()); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult DeleteConfirmed(Guid id) { _appService.Remover(id); return(RedirectToAction("Index")); }