public ActionResult DevolverConfirmed(int id) { var emprestimoEntity = _wcfServiceClient.GetEmprestimoById(id); _wcfServiceClient.DevolverEmprestimo(emprestimoEntity); return(RedirectToAction("Index")); }