public ActionResult Supprimer(int id) { BlocageServiceAPI rsa = new BlocageServiceAPI(); BlocageDetails r = new BlocageDetails(rsa.Donner(id)); return(View(r)); }
public ActionResult Modifier(int id) { BlocageServiceAPI rs = new BlocageServiceAPI(); BlocageModification r = new BlocageModification(rs.Donner(id)); return(View(r)); }
public ActionResult Index() { BlocageServiceAPI rs = new BlocageServiceAPI(); IEnumerable <BlocageIndex> ri = rs.Donner().Select(j => new BlocageIndex(j)); return(View(ri)); }
public ActionResult Details(int id) { BlocageServiceAPI rsa = new BlocageServiceAPI(); Blocage r = rsa.Donner(id); BlocageDetails rd = new BlocageDetails(r); return(View(rd)); }